[新着] Webテンプレートを仮オープンしました
<?php
require ('Smarty.class.php');
require ('login.class.php');
session_start();
$smarty = new Smarty;
$login = new Login;
if(empty($_SESSION["form1"])){
$_SESSION["form1"]="input";
}else{
$login->checkPassword();
}
$smarty->assign('title', 'X-plate Account');
$smarty->assign('error', $login->errorm);
$smarty->assign('id', $login->id);
$smarty->assign('passwd',$login->pass);
if("checked" != $_SESSION["form1"]){
$smarty->display('login.tpl');
}else{
$_SESSION["user"]="$login->id";
$smarty->display('welcome.tpl');
}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML lang="ja">
<!--2007/03/31 15:24:59-->
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
<META http-equiv="Content-Style-Type" content="text/css">
<META http-equiv="Content-Script-Type" content="text/javascript">
<META name="keywords" content="X-plate,バーチャルワールド,仮想世界">
<META name="description" content="X-plate はチャットサービスをはじめとする3Dバーチャルワールドを提供しています">
<META name="GENERATOR" content="ホームページNinja 8 for Windows Product Version 8.0.0">
<LINK rel="Shortcut Icon" href="img001.ico">
<TITLE>X-plate Account</TITLE>
<STYLE type="text/css">
<!--
BODY {
font-family: "MS Pゴシック";
font-size: 12pt;
}
TABLE {
font-family: "MS Pゴシック";
font-size: 12pt;
}
TD {
font-family: "MS Pゴシック";
font-size: 12pt;
}
DIV {
font-family: "MS Pゴシック";
font-size: 12pt;
}
SPAN {
font-family: "MS Pゴシック";
font-size: 12pt;
}
-->
</STYLE>
</HEAD>
〜省略〜
</HTML><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML lang="ja">
<!--2007/03/31 15:24:59-->
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
<META http-equiv="Content-Style-Type" content="text/css">
<META http-equiv="Content-Script-Type" content="text/javascript">
<META name="keywords" content="X-plate,バーチャルワールド,仮想世界">
<META name="description" content="X-plate はチャットサービスをはじめとする3Dバーチャルワールドを提供しています">
<META name="GENERATOR" content="ホームページNinja 8 for Windows Product Version 8.0.0">
<LINK rel="Shortcut Icon" href="img001.ico">
<TITLE>X-plate Account</TITLE>
<STYLE type="text/css">
<!--
BODY {
font-family: "MS Pゴシック";
font-size: 12pt;
}
TABLE {
font-family: "MS Pゴシック";
font-size: 12pt;
}
TD {
font-family: "MS Pゴシック";
font-size: 12pt;
}
DIV {
font-family: "MS Pゴシック";
font-size: 12pt;
}
SPAN {
font-family: "MS Pゴシック";
font-size: 12pt;
}
-->
</STYLE>
</HEAD>
〜省略〜
</HTML>
<?php
require ('Smarty.class.php');
require ('login.class.php');
session_start();
$smarty = new Smarty;
$login = new Login;
if(empty($_SESSION["form1"])){
$_SESSION["form1"]="input";
}else{
$login->checkPassword();
}
$smarty->assign('title', 'X-plate Account');
$smarty->assign('error', $login->errorm);
$smarty->assign('id', $login->id);
$smarty->assign('passwd',$login->pass);
if("checked" != $_SESSION["form1"]){
$smarty->display('login.tpl');
}else{
$_SESSION["user"]="$login->id";
$smarty->display('welcome.tpl');
}
?>