Location: PHPKode > projects > Wgame > right.php
<?php
require_once 'global.inc.php';

print '
<html>
<head>
<title>right</title>
<link rel="stylesheet" href="style_here.css" type="text/css">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<BODY class="body" leftMargin="5" topMargin="3">';

echo "<table width='90%' border='1' class='default_font_black_a1'>";
echo "<tr align='center'>";
echo "<td><A HREF=power.php?show=1&session=".$session." target='rightFrame_show'><FONT class='default_font_black_a5'> ¸öÈË </FONT></A></td>";
echo "<td><A HREF=power.php?show=2&session=".$session." target='rightFrame_show'><FONT class='default_font_black_a5'> ×°±¸ </FONT></A></td>";
echo "<td><A HREF=power.php?show=3&session=".$session." target='rightFrame_show'><FONT class='default_font_black_a5'> ³èÎï </FONT></A></td>";
echo "<td><A HREF=power.php?show=4&session=".$session." target='rightFrame_show'><FONT class='default_font_black_a5'> ½»ÓÑ </FONT></A></td>";
echo "<td><A HREF=power.php?show=5&session=".$session." target='rightFrame_show'><FONT class='default_font_black_a5'> ÏûÏ¢ </FONT></A></td>";
echo "</tr>";
echo "<tr align='center'>";
echo "<td><a HREF=power_xml.php?show=1&session=".$session." target='rightFrame_show'>xml</a></td>";
echo "<td><A HREF=power_xml.php?show=2&session=".$session." target='rightFrame_show'>xml</a></td>";
echo "<td><A HREF=power_xml.php?show=3&session=".$session." target='rightFrame_show'>xml</a></td>";
echo "<td><A HREF=power_xml.php?show=4&session=".$session." target='rightFrame_show'>xml</a></td>";
echo "<td><A HREF=power_xml.php?show=5&session=".$session." target='rightFrame_show'>xml</a></td>";
echo "</tr>";

echo "</table>";


echo "<A HREF='index.php' target='_top'><FONT class='default_font_black_a4'>";
echo "[".$session."]</FONT></A>";
echo "<BR>&nbsp;";

print "<A HREF='$PHP_SELF?show=15'><B>clean all</B></A><BR>";

switch ($show) {
	case 1:
		$test_player = new php_gameally_player_info_html($session);
		$test_player->html_table(2);
		$test_player->close();
		break;
	case 11:
		$test_player = new php_gameally_player_info_xml($session);
		$test_player->to_print();
		$test_player->close();
		break;
	case 2:
		$test_player = new php_gameally_player_info_html($session);
		$test_player->html_goods();
		$test_player->close();
		break;
	case 3:
		echo "none";
		break;
	case 4: // Friends
		$test_player = new php_gameally_player_life_html($session);
		$test_player->html_friends();
		break;
	case 5: // Message :=
		$test_player = new php_gameally_player_life_html($session);
		$test_player->html_message();
		$test_player->close();
		break;
	case 6: // del_message :=
		$test_player = new php_gameally_player_life_html($session);
		$test_player->message_del($id);
		$test_player->html_message();
		$test_player->close();
		break;
	case 7: // add_message :=
		$test_player = new php_gameally_player_life_html($session);
		$test_player->message_send($friend_id,$message);
		$test_player->html_message();
		$test_player->close();
		break;
	case 8: // Friends Add
		$test_player = new php_gameally_player_life_html($session);
		$test_player->friend_add($friend_id);
		$test_player->html_friends();
		break;
	case 9: // Friends Del
		$test_player = new php_gameally_player_life_html($session);
		$test_player->friend_del($friend_id);
		$test_player->html_friends();
		break;
  case 15: // clean all 
    $test_player = new php_gameally_player_life_html($session);
		$test_player->message_system_clean();
		$test_player->html_list_message();
		$test_player->close();
    break;
  case 16: // del that one
		$test_player = new php_gameally_player_life_html($session);
		$test_player->message_del($id);
		$test_player->html_list_message();
		$test_player->close();
    break;
	default:
		echo "Show is ".$show.". But i don't know.";
}

print '
</body>
</html>';

?>
Return current item: Wgame