Advertisement
NeverPool

wat

Aug 1st, 2011
479
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.58 KB | None | 0 0
  1.     $links = array(array('url' => '/games/action/crushthecastle.php', 'name'=>'Random Game'),
  2.                 array('url' => '/games/action/exitpath.php', 'name' => 'Random Game'),
  3.                 array('url' => '/games/action/robotunicorntattackheavymetal.php', 'name' => 'Random Game'),
  4.                 array('url' => '/games/shooting/supermariorampage.php', 'name' => 'Random Game'),
  5.                 array('url' => '/games/shooting/sierra7.php', 'name' => 'Random Game'),
  6.                 array('url' => '/games/shooting/darkbase3.php', 'name' => 'Random Game'),
  7.                 array('url' => '/games/racing/uphillrush2.php', 'name' => 'Random Game'),
  8.                 array('url' => '/games/racing/stuntcrazy.php', 'name' => 'Random Game'),
  9.                 array('url' => '/games/racing/superdrift3d.php', 'name' => 'Random Game'),
  10.                 array('url' => '/games/strategy/caveswirl.php', 'name' => 'Random Game'),
  11.                 array('url' => '/games/strategy/artillerydefense.php', 'name' => 'Random Game'),
  12.                 array('url' => '/games/strategy/ilovetraffic.php', 'name' => 'Random Game'),
  13.                 array('url' => '/games/rpg/magithefallenworld.php', 'name' => 'Random Game'),
  14.                 array('url' => '/games/rpg/castaway2.php', 'name' => 'Random Game'),
  15.                 array('url' => '/games/rpg/battleoflemolad.php', 'name' => 'Random Game'),
  16.                 array('url' => '/games/other/arc.php', 'name' => 'Random Game'),
  17.                 array('url' => '/games/other/canabalt.php', 'name' => 'Random Game'),
  18.                 array('url' => '/games/other/battlepaint.php', 'name' => 'Random Game'));
  19.                 $num = array_rand($links);
  20.                 $item = $links[$num];
  21.                 printf('<a href="%s" title="%s">%s</a>', $item['url'], $item['name'], $item['name']);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement