$agent = $_SERVER["HTTP_USER_AGENT"]; $str0 = "pc"; if (strpos($agent, "DoCoMo") !== FALSE) $str0 = "docomo"; if (strpos($agent, "J-PHONE") !== FALSE) $str0 = "jphone"; if (strpos($agent, "Vodafone") !== FALSE) $str0 = "jphone"; if (strpos($agent, "Softbank") !== FALSE) $str0 = "jphone"; if (strpos($agent, "UP.Browser") !== FALSE) $str0 = "ezweb"; if($str0 != "pc") { header("Location: http://ryo-k.net/mem_list/mobile/index.php"); } session_start(); require_once("./Module/COMMON_DATABASE.conf"); require_once("./Module/LOGIN_CHECK.inc"); require_once("./Module/COLOR.conf"); //画面カラー設定 $bg_color = $_SESSION["bgcolor"]; $font_color = $_SESSION["font"]; $bg_img = $_SESSION["bgimg"]; if($bg_color = "Nothing") { $bg_color = "#FFFFFF"; } if($font_color == "Nothing") { $font_color = "#0000ff"; } if($bg_img == "Nothing") { $bg_img = ""; } $result = mysql_query(" SELECT * FROM user ORDER BY HN ",$db); $num = mysql_num_rows($result); ?>
ハンドルネーム | 棲家 | 愛車 |
if($_SESSION["login"] != "") { //print ""; print ""; }?> print mysql_result($result,$i,"HN"); ?> if($_SESSION["login"] != "") { print ""; }?> | print mysql_result($result,$i,"add1"); ?> | print mysql_result($result,$i,"macine"); ?> |