function content_514451f1dd0be0_99450555($_smarty_tpl) { $_config = new Smarty_Internal_Config("web.conf", $_smarty_tpl->smarty, $_smarty_tpl); $_config->loadConfigVars(null, 'local'); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="keywords" content="<?php echo $_smarty_tpl->getConfigVariable('keywords'); ?> " /> <meta http-equiv="description" content="<?php echo $_smarty_tpl->getConfigVariable('description'); ?> " /> <title><?php echo $_smarty_tpl->getConfigVariable('title'); ?> </title> <link media="screen" href="css/index.css" type="text/css" rel="stylesheet"> <script src="js/nav.js" type="text/javascript"></script> <script src="js/Common.js" type="text/javascript"></script> </head> <body> <?php echo $_smarty_tpl->getSubTemplate("Common/Menu.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('name' => "menu"), 0); ?> <div class="main980 f_n"><img src="images/006.jpg" width="980" height="300" border="0" alt="上海楚瀚展览服务有限公司" /></div> <div class="main980 f_n"> <div class="indexCenter"> <div class="productTitle"> <div class="productTitleLeft">联系我们</div> <div class="productTitleRight">您现在的位置:<a href="/">首页</a> > 联系我们</div> </div> <div class="contactDetail"> <div class="contactLeft"> <?php echo $_smarty_tpl->tpl_vars['contact']->value; ?> </div> <div class="contactRight"> <iframe width="510" height="450" src="Common/Map.html" frameborder="0"></iframe> </div> </div> </div> </div> <?php echo $_smarty_tpl->getSubTemplate("Common/Bottom.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('name' => "bottom"), 0); ?> </body> </html> <?php }
function content_50f016267a6924_50871058($_smarty_tpl) { $_config = new Smarty_Internal_Config("Admin.conf", $_smarty_tpl->smarty, $_smarty_tpl); $_config->loadConfigVars(null, 'local'); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title><?php echo $_smarty_tpl->getConfigVariable('title'); ?> </title> </head> <frameset rows="80,*" cols="*" frameborder="no" border="0" framespacing="0"> <frame src="top.php" name="topFrame" scrolling="No" noresize="noresize" id="topFrame" title="topFrame" /> <frameset rows="*" cols="200,*" framespacing="0" frameborder="no" border="0"> <frame src="Left.php" name="leftmenu" id="mainFrame" title="mainFrame" scrolling="yes" /> <frameset rows="50,*" cols="*" framespacing="0" frameborder="no" border="0"> <frame src="menu.php" name="topmenu" id="mainFrame" title="mainFrame" /> <frame src="right.php" name="right" scrolling="yes" noresize="noresize" id="right" title="right" /> </frameset> </frameset> </frameset><noframes></noframes> <noframes> </html> <?php }
function content_51014a7a65b4b6_87213168($_smarty_tpl) { $_config = new Smarty_Internal_Config((string) dirname($_smarty_tpl->source->filepath) . "/CONFIGS", $_smarty_tpl->smarty, $_smarty_tpl); $_config->loadConfigVars(null, 'local'); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-CN" lang="zh-CN"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link href="css/common.css" rel="stylesheet" type="text/css" /> <link href="css/<?php echo $_smarty_tpl->tpl_vars['name']->value; ?> .css" rel="stylesheet" type="text/css" /> <link rel="shortcut icon" href="images/favicon.ico" type="image/ico" /> <script type="text/javascript" src="script/jquery-1.9.0.js"></script> <script type="text/javascript" src="script/<?php echo $_smarty_tpl->tpl_vars['name']->value; ?> .js"></script> <script type="text/javascript" src="script/common.js"></script> <title><?php echo ($tmp = @$_smarty_tpl->tpl_vars['title']->value) === null || $tmp === '' ? '扬州大学党校网上测试平台' : $tmp; ?> </title><?php }
function content_50c03244688ee2_36834851($_smarty_tpl) { ?> <?php $_config = new Smarty_Internal_Config("test.conf", $_smarty_tpl->smarty, $_smarty_tpl); $_config->loadConfigVars("setup", 'local'); ob_start(); echo $_smarty_tpl->tpl_vars['title']->value; $_tmp1 = ob_get_clean(); echo $_smarty_tpl->getSubTemplate("header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('title' => $_tmp1), 0); ?> <?php echo $_smarty_tpl->getSubTemplate("bar.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <div id="page" class="hfeed"> <header id="branding" role="banner"> <hgroup> <h1 style="font-family: seigetsuRegular" id="site-title"><a>世界第一总督大人</a></h1> <h2 id="site-description">Merlin君的魔术工房</h2> </hgroup> <br /> <form align="center" action="../checklg.php" method="post"> 用户名 <input type="text" name="user" maxlength="10" /> <br /> <br /> 密码   <input type="password" name="password" maxlength="10" /> <br /> <br /> <button type="submit" class="button" >提交  </button> <button type="button" class="button" ><a href="index.php">返回  </a></button> </form> <br /> <br /> <br /> <br /> </div> <?php echo $_smarty_tpl->getSubTemplate("footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); }
function content_50f115cb6373b5_14465069($_smarty_tpl) { $_config = new Smarty_Internal_Config("Admin.conf", $_smarty_tpl->smarty, $_smarty_tpl); $_config->loadConfigVars(null, 'local'); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title></title> </head> <body> <table width="95%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#666666"> <form action="UpdateAdmin.php?action=editer&adminID=<?php echo $_smarty_tpl->tpl_vars['adminID']->value; ?> " method="post" name="updateAdmin"> <tr> <td height="30" background="images/bg_list.gif"><div style="padding-left:10px; font-weight:bold; color:#FFFFFF">管理员管理</div></td> </tr> <tr> <td bgcolor="#FFFFFF"><table width="100%" border="0" align="center" cellpadding="5" cellspacing="0" > <tr onMouseOut="style.backgroundColor='#ffffff'" bgcolor="#FFFFFF" > <td height="25" width="34%" class="td">管理员帐号</td> <td width="66%" class="td"><input name="adminName" type="text" size="30" value="<?php echo $_smarty_tpl->tpl_vars['adminName']->value; ?> "/> * (请勿使用中文!)</td> </tr> <tr onMouseOver="style.backgroundColor='#EEEEEE'" onMouseOut="style.backgroundColor='#ffffff'" bgcolor="#FFFFFF"> <td width="34%" height="13" class="td">登录密码</td> <td class="td"><input name="adminPwd" type="text" size="30" /> *</td> </tr> <tr onMouseOver="style.backgroundColor='#EEEEEE'" onMouseOut="style.backgroundColor='#ffffff'" bgcolor="#FFFFFF"> <td width="34%" height="12" class="td">确认密码</td> <td class="td"><input name="adminPwd2" type="text" size="30" /> * </td> </tr> <tr onMouseOver="style.backgroundColor='#EEEEEE'" onMouseOut="style.backgroundColor='#FFFFFF'" bgcolor="#FFFFFF"> <td height="25" class="td"> </td> <td class="td"><input type="submit" name="button" id="button" value="提交数据" class="btn"/></td> </tr> </table></td> </tr></form> </table> </body> </html> <?php }
function content_56248ad307a125_96282819($_smarty_tpl) { $_config = new Smarty_Internal_Config("hello.conf", $_smarty_tpl->smarty, $_smarty_tpl); $_config->loadConfigVars(null, 'local'); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>configs文件夹用法</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link href="css/bbs.css" type="text/css" rel="stylesheet" /> </head> <body> <?php echo $_smarty_tpl->getSubTemplate("header.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0); ?> <table border="1" align="center" width="500"> <tr> <td> 公司名称:<?php echo $_smarty_tpl->getConfigVariable('companyName'); ?> <br><br> 联系电话:<?php echo $_smarty_tpl->getConfigVariable('tel'); ?> </td> </tr> </table> </body> </html> <?php }
function content_52354819662ea6_55748610($_smarty_tpl) { $_config = new Smarty_Internal_Config('../config/config.conf', $_smarty_tpl->smarty, $_smarty_tpl); $_config->loadConfigVars(null, 'local'); ?> <body bgcolor='<?php echo $_smarty_tpl->getConfigVariable('bgcolor'); ?> '> title=<?php echo $_smarty_tpl->getConfigVariable('title'); ?> </body><?php }
function content_522ded0739f632_86830241($_smarty_tpl) { $_config = new Smarty_Internal_Config("Admin.conf", $_smarty_tpl->smarty, $_smarty_tpl); $_config->loadConfigVars(null, 'local'); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>无标题文档</title> <link rel="stylesheet" type="text/css" href="css.css"> <script type="text/javascript" src="../js/datecontrol/WdatePicker.js"></script> </head> <body> <table width="95%" border="1" cellspacing="0" cellpadding="0" align="center"> <tr> <td height="30" style="background-image:url(images/bg_list.gif)"><div style="margin-left:10px; font-weight:bold; color:#ffffff; font-size:16px">学生信息导出</div></td> </tr> <tr> <td><form name="add" id="add" action="?action=export" method="post"> <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" style="border:1px solid #CCCCCC"> <tr><td height="5" colspan="2"></td></tr> <tr> <td height="25" width="15%" align="right">开始时间:</td> <td><input name="startDate" id="startDate" type="text" size="20" value="<?php echo $_smarty_tpl->tpl_vars['startDate']->value; ?> " onclick="WdatePicker({el:'startDate'})" /></td> </tr> <tr> <td height="25" width="15%" align="right">结束时间:</td> <td><input name="endDate" id="endDate" type="text" size="20" value="<?php echo $_smarty_tpl->tpl_vars['endDate']->value; ?> " onclick="WdatePicker({el:'endDate'})" /></td> </tr> <tr><td height="5" colspan="2"></td></tr> <tr><td height="25"></td><td align="left"><input name="submit" type="submit" value="立即导出"/> <input name="" type="reset" value="重新填写"/></td></tr> </table></form></td> </tr> </table> </body> </html> <?php }
function content_514268a2b8f329_17806916($_smarty_tpl) { $_config = new Smarty_Internal_Config("web.conf", $_smarty_tpl->smarty, $_smarty_tpl); $_config->loadConfigVars(null, 'local'); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="keywords" content="<?php echo $_smarty_tpl->getConfigVariable('keywords'); ?> " /> <meta http-equiv="description" content="<?php echo $_smarty_tpl->getConfigVariable('description'); ?> " /> <title><?php echo $_smarty_tpl->getConfigVariable('title'); ?> </title> <link media="screen" href="css/index.css" type="text/css" rel="stylesheet"> <script src="js/nav.js" type="text/javascript"></script> <script src="js/Common.js" type="text/javascript"></script> </head> <body> <?php echo $_smarty_tpl->getSubTemplate("Common/Menu.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('name' => "menu"), 0); ?> <div class="main980 f_n"><img src="images/004.jpg" width="980" height="300" border="0" alt="上海楚瀚展览服务有限公司" /></div> <div class="main980 f_n"> <img src="images/service_bottom.png" width="980" height="912" border="0"/> </div> <?php echo $_smarty_tpl->getSubTemplate("Common/Bottom.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('name' => "bottom"), 0); ?> </body> </html> <?php }
function content_50fe9bf1ce2261_35673625($_smarty_tpl) { $_config = new Smarty_Internal_Config("test.conf", $_smarty_tpl->smarty, $_smarty_tpl); $_config->loadConfigVars("setup", 'local'); ob_start(); echo $_smarty_tpl->tpl_vars['title']->value; $_tmp1 = ob_get_clean(); echo $_smarty_tpl->getSubTemplate("header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('title' => $_tmp1), 0); ?> </head> <body> <form id="Register" align="center" action="CheckRegister.php" method="post"> <p>注册</p> 用户名 <input type="text" name="user" maxlength="20" /> <br /> <br /> 密码   <input type="password" name="password" maxlength="15" /> <br /> <br /> 邮箱   <input type="text" name="email" maxlength="30" /> <br /> <br /> 二级密码   <input type="password" name="safe" maxlength="15" /> <br /> <br /> <button type="submit" class="button" >提交  </button> </form> <?php echo $_smarty_tpl->getSubTemplate("footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); }
function content_5589b897dfc3a0_12669424($_smarty_tpl) { $_config = new Smarty_Internal_Config("test.conf", $_smarty_tpl->smarty, $_smarty_tpl); $_config->loadConfigVars("setup", 'local'); echo $_smarty_tpl->getSubTemplate("header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('title' => 'foo'), 0); ?> <div id="content"> <div id="result"> <?php echo $_smarty_tpl->getSubTemplate("displayAlbums.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> </div> <?php echo $_smarty_tpl->getSubTemplate("footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <?php }
function content_513f1a00358262_97987507($_smarty_tpl) { $_config = new Smarty_Internal_Config("Admin.conf", $_smarty_tpl->smarty, $_smarty_tpl); $_config->loadConfigVars(null, 'local'); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>top</title> <style> body{ font-size:12px; margin:0; padding:0; background:url(images/admin_top_bg.gif) repeat-x top; } div{ text-align:center; font-size:20px; line-height:80px; vertical-align:middle; color:#FFFFFF; font-weight:bold;} </style> </head> <body> <div><?php echo $_smarty_tpl->getConfigVariable('AdminTitle'); ?> <div> </body> </html> <?php }
function content_513f1b104cd4f2_48398648($_smarty_tpl) { $_config = new Smarty_Internal_Config("Admin.conf", $_smarty_tpl->smarty, $_smarty_tpl); $_config->loadConfigVars(null, 'local'); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>无标题文档</title> </head> <body> <div style="margin-top:10px"> <table width="95%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#666666"> <form action="UpdateProduct.php?action=editFirstClass&classID=<?php echo $_smarty_tpl->tpl_vars['classID']->value; ?> " method="post" name="add"> <tr> <td height="30" background="images/bg_list.gif"><div style="padding-left:10px;font-weight:bold;color:#FFFFFF">编辑类别</div></td> </tr> <tr> <td bgcolor="#FFFFFF"><table width="100%" border="0" align="center" cellpadding="5" cellspacing="0" > <tr bgcolor="#FFFFFF" > <td class="td"> 序号:<input type="text" name="classOrder" size="10" value="<?php echo $_smarty_tpl->tpl_vars['classOrder']->value; ?> "/> 类名:<input type="text" name="className" size="30" value="<?php echo $_smarty_tpl->tpl_vars['cnClassName']->value; ?> "/> <input type="submit" name="Submit" value=" 保 存 "> </td> </tr> </table></td> </tr></form> </table> </div> <div style="margin-top:10px"> <table width="95%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#666666" class="c_c"> <tr> <td height="30" background="images/bg_list.gif"><div style="padding-left:10px;font-weight:bold;color:#FFFFFF">管理类别</div></td> </tr> <tr> <td bgcolor="#FFFFFF" width="100%"><table width="50%" border="0" align="left" cellpadding="5" cellspacing="0" > <tr bgcolor="#FFFFFF" ><td class="td" align="center">序号</td><td class="td">类名</td><td class="td" align="center">操作</td></tr> <?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['item']->_loop = false; $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable(); $_from = $_smarty_tpl->tpl_vars['classList']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) { $_smarty_tpl->tpl_vars['item']->_loop = true; $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key; ?> <tr bgcolor="#FFFFFF" onMouseOver="style.backgroundColor='#EEEEEE'" onMouseOut="style.backgroundColor='#ffffff'" > <td class="td" align="center"><?php echo $_smarty_tpl->tpl_vars['item']->value['classOrder']; ?> </td> <td class="td"><?php echo $_smarty_tpl->tpl_vars['item']->value['cnClassName']; ?> </td> <td class="td" align="center"> <a href="firstclass.php?action=updateClass&classID=<?php echo $_smarty_tpl->tpl_vars['item']->value['id']; ?> ">修改</a> | <a href="UpdateProduct.php?action=deleteFirstClass&classID=<?php echo $_smarty_tpl->tpl_vars['item']->value['id']; ?> ">删除</a></td></tr> <?php } ?> </table></td> </tr> </table> </div> </body> </html> <?php }
function content_50fdf050056ef3_68337486($_smarty_tpl) { $_config = new Smarty_Internal_Config("test.conf", $_smarty_tpl->smarty, $_smarty_tpl); $_config->loadConfigVars("setup", 'local'); ob_start(); echo $_smarty_tpl->tpl_vars['title']->value; $_tmp1 = ob_get_clean(); echo $_smarty_tpl->getSubTemplate("header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('title' => $_tmp1), 0); ?> <link rel="stylesheet" type="text/css" href="./JsCss/style.css" /> <script type="text/javascript" src="./JsCss/jquery.blockUI.js"></script> <script type="text/javascript"> $(function(){ $('#LogOn').click(function(){ //给box_btn绑定一个鼠标点击的事件 $.blockUI({ //当点击事件发生时调用弹出层 message: $('#LogOnBox'), //要弹出的元素box css: { //弹出元素的CSS属性 backgroundColor: '#000', width: '400px', background: '#ffffff' } }); $('.blockOverlay').attr('title','单击关闭').click($.unblockUI); }); }); </script> </head> <body> <div id="page"> <header id="branding" role="banner"> <hgroup> <h1 style="font-family: seigetsuRegular" id="site-title"><a>  1012</a></h1> <h2 id="site-description">这是一个圈套</h2> </hgroup> <img style="width:50px;height:50px;position: absolute; top:16.3%;left:6%;" src="Image/logo3_50.png" alt="LOGO" /> <nav id="access" role="navigation"> <div class="menu"><ul><li class="current_page_item"><a href="index.php" title="首页">首页</a></li><li class="page_item page-item-2"></li></ul></div> <div class="menu"><ul><li class="current_page_item"><a href="introduction.php" title="简介"><?php echo $_smarty_tpl->tpl_vars['op1']->value; ?> </a></li><li class="page_item page-item-2"></li></ul></div> <div class="menu"><ul><li class="current_page_item"><a href="Tutorial.php" title="教程"><?php echo $_smarty_tpl->tpl_vars['op2']->value; ?> </a></li><li class="page_item page-item-2"></li></ul></div> <div class="menu"><ul><li class="current_page_item"><a href="Account.php" title="账户"><?php echo $_smarty_tpl->tpl_vars['op3']->value; ?> </a></li><li class="page_item page-item-2"></li></ul></div> <div class="menu"><ul><li class="current_page_item"><a href="History.php" title="历史"><?php echo $_smarty_tpl->tpl_vars['op4']->value; ?> </a></li><li class="page_item page-item-2"></li></ul></div> <div class="menu"><ul><li class="current_page_item"><a href="Help.php" title="帮助"><?php echo $_smarty_tpl->tpl_vars['op5']->value; ?> </a></li><li class="page_item page-item-2"></li></ul></div> <div class="menu"><ul><li class="current_page_item"><a href="Wiki.php" title="百科"><?php echo $_smarty_tpl->tpl_vars['op6']->value; ?> </a></li><li class="page_item page-item-2"></li></ul></div> <div class="menu"><ul><li class="current_page_item"><a href="BBS.php" title="论坛"><?php echo $_smarty_tpl->tpl_vars['op7']->value; ?> </a></li><li class="page_item page-item-2"></li></ul></div> <div class="menu"><ul><li class="current_page_item"><a href="About.php" title="关于"><?php echo $_smarty_tpl->tpl_vars['op8']->value; ?> </a></li><li class="page_item page-item-2"></li></ul></div> <?php if ($_smarty_tpl->tpl_vars['Authority']->value) { ?> <div class="menu"><ul><li class="current_page_item"><a href="Admin.php" title="后台">后台</a></li><li class="page_item page-item-2"></li></ul></div> <?php } ?> <?php if ($_smarty_tpl->tpl_vars['LogOn']->value == 1) { ?> <div id="access2" class="menu"><ul><li class="current_page_item"><a href="UnLogOn.php" title="退出" >退出</a></li><li class="page_item page-item-2"></li></ul></div> <?php } else { ?> <div id="access2" class="menu"><ul><li class="current_page_item"><a href="Register.php" title="注册" >注册</a></li><li class="page_item page-item-2"></li></ul></div> <?php } ?> </nav> <br /> <br /> <br /> <br /> <br /> <br /> <div class="IndexInfo"> <?php if ($_smarty_tpl->tpl_vars['gamemode']->value == 2) { if ($_smarty_tpl->tpl_vars['LogOn']->value) { ?> 欢迎你,<?php echo $_smarty_tpl->tpl_vars['User']->value; ?> <br /> <br /> <?php } ?> 现在是<?php echo $_smarty_tpl->tpl_vars['chapter']->value; ?> <br /> <br /> 第<?php echo $_smarty_tpl->tpl_vars['loop']->value; ?> 回 <br /> <br /> 游戏已进行<?php echo $_smarty_tpl->tpl_vars['time']->value; ?> 分钟 <br /> <br /> <?php if ($_smarty_tpl->tpl_vars['LogOn']->value) { ?> <button type="button" onclick="window.location.href='GameReady.php';"> 开始游戏 </button> <?php } else { ?> <button type="button" id="LogOn"> 登陆 </button> <?php } } ?> <?php if ($_smarty_tpl->tpl_vars['gamemode']->value == 0) { if ($_smarty_tpl->tpl_vars['LogOn']->value) { ?> 欢迎你,<?php echo $_smarty_tpl->tpl_vars['User']->value; ?> <br /> <br /> <?php } ?> 游戏停止中,散散步喝杯水,满怀期待之心刷新页面,也许有效。 <?php } ?> <?php if ($_smarty_tpl->tpl_vars['gamemode']->value == 1) { if ($_smarty_tpl->tpl_vars['LogOn']->value) { ?> 欢迎你,<?php echo $_smarty_tpl->tpl_vars['User']->value; ?> <br /> <br /> <?php } ?> 现在是<?php echo $_smarty_tpl->tpl_vars['chapter']->value; ?> <br /> <br /> 第<?php echo $_smarty_tpl->tpl_vars['loop']->value; ?> 回 <br /> <br /> 游戏正在准备中 <br /> <br /> <?php if ($_smarty_tpl->tpl_vars['LogOn']->value) { ?> <button type="button" onclick="window.location.href='GameReady.php';"> 开始游戏 </button> <?php } else { ?> <button type="button" id="LogOn"> 登陆 </button> <?php } } ?> <?php if ($_smarty_tpl->tpl_vars['gamemode']->value == 3) { if ($_smarty_tpl->tpl_vars['LogOn']->value) { ?> 欢迎你,<?php echo $_smarty_tpl->tpl_vars['User']->value; ?> <br /> <br /> <?php } ?> 现在是<?php echo $_smarty_tpl->tpl_vars['chapter']->value; ?> <br /> <br /> 第<?php echo $_smarty_tpl->tpl_vars['loop']->value; ?> 回 <br /> <br /> 游戏已进行<?php echo $_smarty_tpl->tpl_vars['time']->value; ?> 分钟 <br /> <br /> <?php if ($_smarty_tpl->tpl_vars['LogOn']->value) { ?> 很抱歉,人数已满,也许正是你了解我们更多的机会。 <?php } else { ?> <button type="button" id="LogOn"> 登陆 </button> <?php } } ?> </div> <br /> <br /> </div> <form id="LogOnBox" align="center" action="CheckLogOn.php" method="post"> <p>登陆</p> 用户名 <input type="text" name="user" maxlength="20" /> <br /> <br /> 密码   <input type="password" name="password" maxlength="15" /> <br /> <br /> <button type="submit" class="button" >提交  </button> </form> <?php echo $_smarty_tpl->getSubTemplate("footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); }
function content_50f015c58f4048_51335489($_smarty_tpl) { $_config = new Smarty_Internal_Config("web.conf", $_smarty_tpl->smarty, $_smarty_tpl); $_config->loadConfigVars(null, 'local'); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="keywords" content="<?php echo $_smarty_tpl->getConfigVariable('keywords'); ?> " /> <meta http-equiv="description" content="<?php echo $_smarty_tpl->getConfigVariable('description'); ?> " /> <title><?php echo $_smarty_tpl->getConfigVariable('title'); ?> </title> <link rel="stylesheet" type="text/css" href="Css/css.css"> <script type="text/javascript" language="javascript"> function showSmallMenu(menu) { document.getElementById(menu).style.display='block'; //moved()' } function trance(url) { window.location.href=url; } function hiddenSmallMenu(menu) { document.getElementById(menu).style.display='none'; //init(menu); } </script> </head> <body> <div class="main1015 f_n"> <div class="main984 f_n"> <div class="leftProduct"> <?php echo $_smarty_tpl->getSubTemplate("Common/Logo.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('name' => "Logo"), 0); ?> </div> <div class="rightTop"> <?php echo $_smarty_tpl->getSubTemplate("Common/Menu2.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('name' => "Menu2"), 0); ?> </div> <div class="productRight"> <div class="topmenuProduct"> <div class="daohang"><a href="Index.php">首页</a> > 分类展示区</div> <div class="productClassProduct" id="productClassProduct" > <?php $_smarty_tpl->tpl_vars['arrClass'] = new Smarty_variable('', null, 0); ?> <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['sc'])) { unset($_smarty_tpl->tpl_vars['smarty']->value['section']['sc']); } $_smarty_tpl->tpl_vars['smarty']->value['section']['sc']['name'] = 'sc'; $_smarty_tpl->tpl_vars['smarty']->value['section']['sc']['loop'] = is_array($_loop = $_smarty_tpl->tpl_vars['smallClass']->value) ? count($_loop) : max(0, (int) $_loop); unset($_loop); $_smarty_tpl->tpl_vars['smarty']->value['section']['sc']['show'] = true; $_smarty_tpl->tpl_vars['smarty']->value['section']['sc']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sc']['loop']; $_smarty_tpl->tpl_vars['smarty']->value['section']['sc']['step'] = 1; $_smarty_tpl->tpl_vars['smarty']->value['section']['sc']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sc']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['sc']['loop'] - 1; if ($_smarty_tpl->tpl_vars['smarty']->value['section']['sc']['show']) { $_smarty_tpl->tpl_vars['smarty']->value['section']['sc']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sc']['loop']; if ($_smarty_tpl->tpl_vars['smarty']->value['section']['sc']['total'] == 0) { $_smarty_tpl->tpl_vars['smarty']->value['section']['sc']['show'] = false; } } else { $_smarty_tpl->tpl_vars['smarty']->value['section']['sc']['total'] = 0; } if ($_smarty_tpl->tpl_vars['smarty']->value['section']['sc']['show']) { for ($_smarty_tpl->tpl_vars['smarty']->value['section']['sc']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sc']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['sc']['iteration'] = 1; $_smarty_tpl->tpl_vars['smarty']->value['section']['sc']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['sc']['total']; $_smarty_tpl->tpl_vars['smarty']->value['section']['sc']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['sc']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['sc']['iteration']++) { $_smarty_tpl->tpl_vars['smarty']->value['section']['sc']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sc']['iteration']; $_smarty_tpl->tpl_vars['smarty']->value['section']['sc']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sc']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['sc']['step']; $_smarty_tpl->tpl_vars['smarty']->value['section']['sc']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sc']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['sc']['step']; $_smarty_tpl->tpl_vars['smarty']->value['section']['sc']['first'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sc']['iteration'] == 1; $_smarty_tpl->tpl_vars['smarty']->value['section']['sc']['last'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sc']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['sc']['total']; ?> <!--<?php echo $_smarty_tpl->tpl_vars['arrClass']->value . $_smarty_tpl->tpl_vars['smallClass']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sc']['index']]['cnClassName']; ?> --> <?php if ($_smarty_tpl->tpl_vars['smallClass']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sc']['index']]['cnClassName'] == $_GET['className']) { ?> <div class="productCurrent" style="width:<?php echo 950 / $_smarty_tpl->getVariable('smarty')->value['section']['sc']['total']; ?> px; text-align:center;"><?php echo $_smarty_tpl->tpl_vars['smallClass']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sc']['index']]['cnClassName']; ?> </div> <?php } else { ?> <div class="productClass2" style="width:<?php echo 950 / $_smarty_tpl->getVariable('smarty')->value['section']['sc']['total']; ?> px; text-align:center"><a href="Product.php?className=<?php echo $_smarty_tpl->tpl_vars['smallClass']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sc']['index']]['cnClassName']; ?> "><?php echo $_smarty_tpl->tpl_vars['smallClass']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sc']['index']]['cnClassName']; ?> </a></div> <?php } ?> <?php } } ?> </div> <div style="float:left; width:972px; height:600px;overflow-Y: auto; overflow-X:hidden;"> <div style="position:absolute; z-index:10;width:972px; height:600px;overflow-Y: auto; overflow-X:hidden; padding-top:20px; padding-bottom:35px;"> <div class="productProduct" id="product"> <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['pl'])) { unset($_smarty_tpl->tpl_vars['smarty']->value['section']['pl']); } $_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['name'] = 'pl'; $_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['loop'] = is_array($_loop = $_smarty_tpl->tpl_vars['productList']->value) ? count($_loop) : max(0, (int) $_loop); unset($_loop); $_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['show'] = true; $_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['loop']; $_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['step'] = 1; $_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['loop'] - 1; if ($_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['show']) { $_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['loop']; if ($_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['total'] == 0) { $_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['show'] = false; } } else { $_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['total'] = 0; } if ($_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['show']) { for ($_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['iteration'] = 1; $_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['total']; $_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['iteration']++) { $_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['iteration']; $_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['step']; $_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['step']; $_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['first'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['iteration'] == 1; $_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['last'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['total']; ?> <div class="bigBox" onmousemove="javascript:showSmallMenu('li<?php echo $_smarty_tpl->getVariable('smarty')->value['section']['pl']['index']; ?> ')"> <div class="smallBox2"><img src="<?php echo $_smarty_tpl->tpl_vars['productList']->value[$_smarty_tpl->getVariable('smarty')->value['section']['pl']['index']]['productPic']; ?> " width="152" height="152" border="0" /></div> <div style="position:absolute;" onmousemove="javascript:showSmallMenu('li<?php echo $_smarty_tpl->getVariable('smarty')->value['section']['pl']['index']; ?> ')" onmouseout="javascript:hiddenSmallMenu('li<?php echo $_smarty_tpl->getVariable('smarty')->value['section']['pl']['index']; ?> ')" > <div class="bigBorder" style="position:absolute; display:none;z-index:1000; left:-200px; top:-20px;" id="li<?php echo $_smarty_tpl->getVariable('smarty')->value['section']['pl']['index']; ?> "> <a href="<?php echo $_smarty_tpl->tpl_vars['productList']->value[$_smarty_tpl->getVariable('smarty')->value['section']['pl']['index']]['productUrl']; ?> "><img src="<?php echo $_smarty_tpl->tpl_vars['productList']->value[$_smarty_tpl->getVariable('smarty')->value['section']['pl']['index']]['productPic']; ?> " width="240" height="240" border="0"/></a> </div> </div> </div> <?php } } ?> </div> </div> </div> <div class="productBottomLine"><div class="productClass1"></div></div> </div> <?php echo $_smarty_tpl->getSubTemplate("Common/Bottom2.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('name' => "Bottom"), 0); ?> </div> </div> </div> </body> </html><?php }
function content_50aaa21d7ba553_76691433($_smarty_tpl) { if (!is_callable('smarty_function_load_presentation_object')) { include './presentation/smarty_plugins\\function.load_presentation_object.php'; } $_config = new Smarty_Internal_Config("site.conf", $_smarty_tpl->smarty, $_smarty_tpl); $_config->loadConfigVars(null, 'local'); echo smarty_function_load_presentation_object(array('filename' => "store_front", 'assign' => "obj"), $_smarty_tpl); ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title><?php echo $_smarty_tpl->tpl_vars['obj']->value->mPageTitle; ?> </title> <link rel="stylesheet" href="<?php echo $_smarty_tpl->tpl_vars['obj']->value->mSiteUrl; ?> styles/tshirtshop.css" type="text/css"> <script src="<?php echo $_smarty_tpl->tpl_vars['obj']->value->mSiteUrl; ?> js/jquery.js" type="text/javascript"></script> <script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['obj']->value->mSiteUrl; ?> js/script1.js"></script> </head> <body class="yui-skin-sam"> <div id="doc" class="yui-t2"> <div id="bd"> <div id="yui-main"> <div class="yui-b"> <div id='header'class="yui-g"> <a href="<?php echo $_smarty_tpl->tpl_vars['obj']->value->mSiteUrl; ?> "> <img src="<?php echo $_smarty_tpl->tpl_vars['obj']->value->mSiteUrl; ?> images/images/title.png" alt="tshirtshop logo"/> </a> </div> <div id="contents" class="yui-g"> <?php echo $_smarty_tpl->getSubTemplate($_smarty_tpl->tpl_vars['obj']->value->mContentsCell, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> </div> </div> </div> <div class="yui-b"> <?php echo $_smarty_tpl->getSubTemplate("search_box.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <?php echo $_smarty_tpl->getSubTemplate("departments_list.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <?php echo $_smarty_tpl->getSubTemplate($_smarty_tpl->tpl_vars['obj']->value->mCategoriesCell, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <?php echo $_smarty_tpl->getSubTemplate($_smarty_tpl->tpl_vars['obj']->value->mCartSummaryCell, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> </div> </div> <div id="ft" role="contentinfo">created by naOy</div> </div> </body> </html> <?php }
function content_541c091571d682_82153415($_smarty_tpl) { if (!is_callable('smarty_function_html_options')) { include 'D:\\strony\\www\\smarty\\libs\\plugins\\function.html_options.php'; } $_config = new Smarty_Internal_Config('konfiguracja.conf', $_smarty_tpl->smarty, $_smarty_tpl); $_config->loadConfigVars(null, 'local'); ?> <html> <head> <meta charset="utf-8"/> </head> <body style="background-color: <?php echo $_smarty_tpl->getConfigVariable('tlo'); ?> color: <?php echo $_smarty_tpl->getConfigVariable('tekst'); ?> "> <table> <tr> <td><?php echo $_smarty_tpl->tpl_vars['imie']->value; ?> </td> <td><?php echo $_smarty_tpl->tpl_vars['nazwisko']->value; ?> </td> </tr> </table> <table border="1"> <tr> <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy'])) { unset($_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']); } $_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['name'] = 'pracownicy'; $_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['loop'] = is_array($_loop = $_smarty_tpl->tpl_vars['pracownicy']->value) ? count($_loop) : max(0, (int) $_loop); unset($_loop); $_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['show'] = true; $_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['loop']; $_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['step'] = 1; $_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['loop'] - 1; if ($_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['show']) { $_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['loop']; if ($_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['total'] == 0) { $_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['show'] = false; } } else { $_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['total'] = 0; } if ($_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['show']) { for ($_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['iteration'] = 1; $_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['total']; $_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['iteration']++) { $_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['iteration']; $_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['step']; $_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['step']; $_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['first'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['iteration'] == 1; $_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['last'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['total']; ?> <td><?php echo $_smarty_tpl->tpl_vars['pracownicy']->value[$_smarty_tpl->getVariable('smarty')->value['section']['pracownicy']['index']]; ?> </td> <?php } } ?> </tr> </table><br/> <table border="1"> <tr> <td>Imię</td> <td>Stanowisko</td> </tr> <?php $_smarty_tpl->tpl_vars['pracownik'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['pracownik']->_loop = false; $_from = $_smarty_tpl->tpl_vars['pracownicy2']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['pracownik']->key => $_smarty_tpl->tpl_vars['pracownik']->value) { $_smarty_tpl->tpl_vars['pracownik']->_loop = true; ?> <tr> <td><?php echo $_smarty_tpl->tpl_vars['pracownik']->value['imie']; ?> </td> <td><?php echo $_smarty_tpl->tpl_vars['pracownik']->value['stanowisko']; ?> </td> </tr> <?php } ?> </table> <?php if ($_smarty_tpl->tpl_vars['pokaz']->value == "tak") { ?> <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy'])) { unset($_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']); } $_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['name'] = 'pracownicy'; $_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['loop'] = is_array($_loop = $_smarty_tpl->tpl_vars['pracownicy']->value) ? count($_loop) : max(0, (int) $_loop); unset($_loop); $_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['show'] = true; $_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['loop']; $_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['step'] = 1; $_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['loop'] - 1; if ($_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['show']) { $_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['loop']; if ($_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['total'] == 0) { $_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['show'] = false; } } else { $_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['total'] = 0; } if ($_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['show']) { for ($_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['iteration'] = 1; $_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['total']; $_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['iteration']++) { $_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['iteration']; $_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['step']; $_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['step']; $_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['first'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['iteration'] == 1; $_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['last'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['pracownicy']['total']; ?> <?php echo $_smarty_tpl->tpl_vars['pracownicy']->value[$_smarty_tpl->getVariable('smarty')->value['section']['pracownicy']['index']]; ?> <?php if (!($_smarty_tpl->getVariable('smarty')->value['section']['pracownicy']['index'] % 2)) { ?> <br/> <?php } ?> <?php } } ?> <?php } ?> <form> <select> <?php echo smarty_function_html_options(array('values' => $_smarty_tpl->tpl_vars['owoce_id']->value, 'output' => $_smarty_tpl->tpl_vars['owoce']->value, 'selected' => 33), $_smarty_tpl); ?> </select> </form> </body> </html><?php }
function content_50f01612d90b41_11651389($_smarty_tpl) { $_config = new Smarty_Internal_Config("Admin.conf", $_smarty_tpl->smarty, $_smarty_tpl); $_config->loadConfigVars(null, 'local'); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title></title> <link rel="stylesheet" type="text/css" href="css.css"> <script type="text/javascript"> function diss(menu){ if(document.getElementById(menu).style.display=="block"){ document.getElementById(menu).style.display='none'; } else if(document.getElementById(menu).style.display=="none"){ document.getElementById(menu).style.display='block'; } } </script> </head> <body> <div class="menu"> <div class="leftmenulist"> <div class="leftmenutext"><a href="../" target="_blank"><b>进入网站首页</b></a></div> </div> <div class="leftmenulist"> <div class="leftmenutext"><a href="right.php" target='right'><b>返回后台首页</b></a></div> </div> <div class="leftmenulist"> <div class="leftmenutext"><a href="AdminManage.php" target="right"><b>管理员管理</b></a></div> </div> <div class="leftmenulist"> <div class="leftmenutext"><a href="#" onClick="diss('muss1')"><b>系统信息管理</b></a></div> <div id="muss1" class="leftmenutd" style="display:block;"> <?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['item']->_loop = false; $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable(); $_from = $_smarty_tpl->tpl_vars['aboutMenuList']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) { $_smarty_tpl->tpl_vars['item']->_loop = true; $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key; ?> <div><a href="ContactUs.php?contactID=<?php echo $_smarty_tpl->tpl_vars['item']->value['id']; ?> " target="right"><?php echo $_smarty_tpl->tpl_vars['item']->value['cnTitle']; ?> </a></div> <?php } ?> </div> </div> <div class="leftmenulist"> <div class="leftmenutext"><a href="#" onClick="diss('muss2')"><b>产品管理</b></a></div> <div id="muss2" class="leftmenutd" style="display:none;"> <div><a href="FirstClass.php" target="right">类别管理</a></div> <div><a href="AddProduct.php" target="right">产品添加</a></div> <div><a href="ManageProducts.php" target="right">产品管理</a></div> </div> </div> <div class="leftmenulist"> <div class="leftmenutext"><a href="#" onClick="diss('muss3')"><b>新闻管理</b></a></div> <div id="muss3" class="leftmenutd" style="display:none;"> <div><a href="AddNews.php" target="right">新闻添加</a></div> <div><a href="ManageNews.php" target="right">新闻管理</a></div> </div> </div> <!-- <div class="leftmenulist"> <div class="leftmenutext"><a href="#" onClick="diss('muss4')"><b>留言管理</b></a></div> <div id="muss4" class="leftmenutd" style="display:none;"> <div><a href="Message.php" target="right">留言管理</a></div> </div> </div> <div class="leftmenulist"> <div class="leftmenutext"><a href="#" onClick="diss('muss6')"><b>FLASH管理</b></a></div> <div id="muss6" class="leftmenutd" style="display:none;"> <div><a href="add_adv.php" target="right">FLASH添加</a></div> <div><a href="adv_manage.php" target="right">FLASH管理</a></div> </div> </div>--> <div class="leftmenulist"> <div class="leftmenutext"><a href="loginout.php" ><b>退出</b></a></div> </div> </div> </body> </html> <?php }
function content_50fea4b68adc04_08232717($_smarty_tpl) { ?> <?php $_config = new Smarty_Internal_Config("test.conf", $_smarty_tpl->smarty, $_smarty_tpl); $_config->loadConfigVars("setup", 'local'); ob_start(); echo $_smarty_tpl->tpl_vars['title']->value; $_tmp1 = ob_get_clean(); echo $_smarty_tpl->getSubTemplate("header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('title' => $_tmp1), 0); ?> <link rel="stylesheet" type="text/css" href="./JsCss/style_<?php echo $_smarty_tpl->tpl_vars['Attitude']->value; ?> .css" /> <script type="text/javascript" src="Chat/Chat.js"></script> <script type="text/javascript" src="Ajax/Getroleinfo.js"></script> <script type="text/javascript" src="Ajax/Getresinfo.js"></script> <script type="text/javascript" src="Ajax/Getinformation.js"></script> <script type="text/javascript" src="Ajax/Res.js"></script> <script type="text/javascript" src="Ajax/GetSkills.js"></script> <script type="text/javascript" src="Ajax/Synthesis.js"></script> <script type="text/javascript" src="Ajax/Location.js"></script> <script type="text/javascript" src="./JsCss/jquery.blockUI.js"></script> <script type="text/javascript"> $(function(){ $('#Synthesis').click(function(){ //给box_btn绑定一个鼠标点击的事件 $.blockUI({ //当点击事件发生时调用弹出层 message: $('#SynthesisInterface'), //要弹出的元素box css: { //弹出元素的CSS属性 backgroundColor: '#000', width:'681px', height:'446px', left:'25%', top:'10%', background: '#ffffff' } }); $('.blockOverlay').attr('title','单击关闭').click($.unblockUI); //$('#SynthesisSubmit').click($.unblockUI); }); }); </script> <script type="text/javascript"> $(function(){ $('#SkillTree').click(function(){ //给box_btn绑定一个鼠标点击的事件 $.blockUI({ //当点击事件发生时调用弹出层 message: $('#SkilltreeInterface'), //要弹出的元素box css: { //弹出元素的CSS属性 backgroundColor: '#000', width:'49.9%', height:'69.2%', left:'25%', top:'10%', background: '#ffffff' } }); $('.blockOverlay').attr('title','单击关闭').click($.unblockUI); }); }); </script> <script type="text/javascript"> $(function(){ $('#Intelligence').click(function(){ //给box_btn绑定一个鼠标点击的事件 $.blockUI({ //当点击事件发生时调用弹出层 message: $('#IntelligenceInterface'), //要弹出的元素box css: { //弹出元素的CSS属性 backgroundColor: '#000', width:'49.9%', height:'69.2%', left:'25%', top:'10%', background: '#ffffff' } }); $('.blockOverlay').attr('title','单击关闭').click($.unblockUI); }); }); </script> <script type="text/javascript"> $(function(){ $('#Search').click(function(){ //给box_btn绑定一个鼠标点击的事件 $.blockUI({ //当点击事件发生时调用弹出层 message: $('#SearchInterface'), //要弹出的元素box css: { //弹出元素的CSS属性 backgroundColor: '#000', width:'49.9%', height:'69.2%', left:'25%', top:'10%', background: '#ffffff' } }); $('.blockOverlay').attr('title','单击关闭').click($.unblockUI); }); }); </script> <script> function go() { Showinfo(<?php echo $_smarty_tpl->tpl_vars['Attitude']->value; ?> ) Showchat('','',<?php echo $_smarty_tpl->tpl_vars['Attitude']->value; ?> ) } </script> <script> function Showequip() { Bag1H(); Bag2H(); Bag3H(); Bag4H(); Bag5H(); DeHeS(); DeArS(); DeShS(); AS(); WS(); TranS(); TrS(); document.getElementById("Tab1").style.color='#fff' ; document.getElementById("Tab1").style.background="<?php echo $_smarty_tpl->tpl_vars['Color1']->value; ?> "; document.getElementById("Tab2").style.color='<?php echo $_smarty_tpl->tpl_vars['Color1']->value; ?> ' ; document.getElementById("Tab2").style.background="rgb(48,10,36)"; document.getElementById("Tab3").style.color='<?php echo $_smarty_tpl->tpl_vars['Color1']->value; ?> ' ; document.getElementById("Tab3").style.background="rgb(48,10,36)"; SH(); } function Showbag() { DeHeH(); DeArH(); DeShH(); AH(); WH(); TranH(); TrH(); Bag1S(); Bag2S(); Bag3S(); Bag4S(); Bag5S(); document.getElementById("Tab2").style.color='#fff' ; document.getElementById("Tab2").style.background="<?php echo $_smarty_tpl->tpl_vars['Color1']->value; ?> "; document.getElementById("Tab1").style.color='<?php echo $_smarty_tpl->tpl_vars['Color1']->value; ?> ' ; document.getElementById("Tab1").style.background="rgb(48,10,36)"; document.getElementById("Tab3").style.color='<?php echo $_smarty_tpl->tpl_vars['Color1']->value; ?> ' ; document.getElementById("Tab3").style.background="rgb(48,10,36)"; SH(); } function Showskill() { DeHeH(); DeArH(); DeShH(); AH(); WH(); TranH(); TrH(); Bag1H(); Bag2H(); Bag3H(); Bag4H(); Bag5H(); SS(); document.getElementById("Tab1").style.color='<?php echo $_smarty_tpl->tpl_vars['Color1']->value; ?> ' ; document.getElementById("Tab1").style.background="rgb(48,10,36)"; document.getElementById("Tab2").style.color='<?php echo $_smarty_tpl->tpl_vars['Color1']->value; ?> ' ; document.getElementById("Tab2").style.background="rgb(48,10,36)"; document.getElementById("Tab3").style.color='#fff' ; document.getElementById("Tab3").style.background="<?php echo $_smarty_tpl->tpl_vars['Color1']->value; ?> "; } </script> </head> <body style="background-color:rgb(48,10,36);color:#ffffff;" onload="Showroleinfo('<?php echo $_smarty_tpl->tpl_vars['User']->value; ?> ');Showresinfo('<?php echo $_smarty_tpl->tpl_vars['User']->value; ?> ');Showskills('<?php echo $_smarty_tpl->tpl_vars['User']->value; ?> ');Showsyn('<?php echo $_smarty_tpl->tpl_vars['User']->value; ?> ');Showlocation(<?php echo $_smarty_tpl->tpl_vars['Location']->value; ?> );Movecd();Searchcd();" > <?php echo $_smarty_tpl->getSubTemplate("bar.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <script>go()</script> <form method="post" id="chatform" onsubmit="Showchat(<?php echo $_smarty_tpl->tpl_vars['User']->value; ?> ,this.value,<?php echo $_smarty_tpl->tpl_vars['Attitude']->value; ?> )"> <input type="text" class="field" name="s" onsubmit="Showchat(<?php echo $_smarty_tpl->tpl_vars['User']->value; ?> ,this.value,<?php echo $_smarty_tpl->tpl_vars['Attitude']->value; ?> )" id="chat" placeholder="聊天" /> </form> <div id="Chatdata" style="width:21.8%;height:41%; overflow-y:auto;background-color:<?php echo $_smarty_tpl->tpl_vars['Color6']->value; ?> "> </div> <div id="Roledata" style="background-color:<?php echo $_smarty_tpl->tpl_vars['Color4']->value; ?> ;"> </div> <div id="Resdata" style="overflow-y:visible;background-color:<?php echo $_smarty_tpl->tpl_vars['Color1']->value; ?> "> </div> <div id="Status" style="background-color:<?php echo $_smarty_tpl->tpl_vars['Color5']->value; ?> ;"> </div> <div id="Map" style="background-color:<?php echo $_smarty_tpl->tpl_vars['Color3']->value; ?> ;"> <img id="Mapimage" src="Image/Map.gif" alt="Map"/> <img id="L1" src="Image/BW.gif" style="z-index:12;position: absolute; left:0.6%;top:0.6%; " onclick="locationchange(1);" alt="BW"/> <img id="L1H" src="Image/Sheep.gif" style="z-index:12;position: absolute; left:6.6%;top:0.6%; " alt="BW"/> <img id="L2" src="Image/BW.gif" style="z-index:12;position: absolute; left:1.6%;top:36.6%; " onclick="locationchange(2);" alt="BW"/> <img id="L2H" src="Image/Sheep.gif" style="z-index:12;position: absolute; left:1.6%;top:29.6%; " alt="BW"/> <img id="L3" src="Image/BW.gif" style="z-index:12;position: absolute; left:6.6%;top:84.6%; "onclick="locationchange(3);" alt="BW"/> <img id="L3H" src="Image/Sheep.gif" style="z-index:12;position: absolute; left:6.6%;top:78.6%; " alt="BW"/> <img id="L4" src="Image/BW.gif" style="z-index:12;position: absolute; left:15%;top:36.6%; "onclick="locationchange(4);" alt="BW"/> <img id="L4H" src="Image/Sheep.gif" style="z-index:12;position: absolute; left:15%;top:29.6%; " alt="BW"/> <img id="L5" src="Image/BW.gif" style="z-index:12;position: absolute; left:24%;top:14.6%; "onclick="locationchange(5);" alt="BW"/> <img id="L5H" src="Image/Sheep.gif" style="z-index:12;position: absolute; left:24%;top:4.6%; " alt="BW"/> <img id="L6" src="Image/BW.gif" style="z-index:12;position: absolute; left:27%;top:68.6%; "onclick="locationchange(6);" alt="BW"/> <img id="L6H" src="Image/Sheep.gif" style="z-index:12;position: absolute; left:27%;top:61.6%; " alt="BW"/> <img id="L8" src="Image/BW.gif" style="z-index:12;position: absolute; left:48%;top:69.6%; "onclick="locationchange(8);" alt="BW"/> <img id="L8H" src="Image/Sheep.gif" style="z-index:12;position: absolute; left:48%;top:61.6%; " alt="BW"/> <img id="L7" src="Image/BW.gif" style="z-index:12;position: absolute; left:48.3%;top:10.6%; "onclick="locationchange(7);" alt="BW"/> <img id="L7H" src="Image/Sheep.gif" style="z-index:12;position: absolute; left:48.3%;top:2.6%; " alt="BW"/> <img id="L12" src="Image/BW.gif" style="z-index:12;position: absolute; left:89.3%;top:0.6%; "onclick="locationchange(12);" alt="BW"/> <img id="L12H" src="Image/Sheep.gif" style="z-index:12;position: absolute; left:82.3%;top:0.6%; " alt="BW"/> <img id="L11" src="Image/BW.gif" style="z-index:12;position: absolute; left:89.3%;top:40.6%; "onclick="locationchange(11);" alt="BW"/> <img id="L11H" src="Image/Sheep.gif" style="z-index:12;position: absolute; left:89.3%;top:31.6%; " alt="BW"/> <img id="L13" src="Image/BW.gif" style="z-index:12;position: absolute; left:92.3%;top:70.6%; "onclick="locationchange(13);" alt="BW"/> <img id="L13H" src="Image/Sheep.gif" style="z-index:12;position: absolute; left:92.3%;top:63.6%; " alt="BW"/> <img id="L14" src="Image/BW.gif" style="z-index:12;position: absolute; left:75.3%;top:85.6%; "onclick="locationchange(14);" alt="BW"/> <img id="L14H" src="Image/Sheep.gif" style="z-index:12;position: absolute; left:75.3%;top:78.6%; " alt="BW"/> <img id="L10" src="Image/BW.gif" style="z-index:12;position: absolute; left:75.3%;top:40.6%; "onclick="locationchange(10);" alt="BW"/> <img id="L10H" src="Image/Sheep.gif" style="z-index:12;position: absolute; left:75.3%;top:31.6%; " alt="BW"/> <img id="L9" src="Image/BW.gif" style="z-index:12;position: absolute; left:64.3%;top:40.6%; "onclick="locationchange(9);" alt="BW"/> <img id="L9H" src="Image/Sheep.gif" style="z-index:12;position: absolute; left:64.3%;top:31.6%; " alt="BW"/> </div> <div id="Option" style="background-color:<?php echo $_smarty_tpl->tpl_vars['Color2']->value; ?> ;"> <div id="Synthesis" onclick="Showsyn('<?php echo $_smarty_tpl->tpl_vars['User']->value; ?> ');">道具合成</div> <div id="Intelligence">己方情报</div> <div id=""></div> <div id="SkillTree">全技能树</div> </div> <div id="Skills" style="overflow-y:visible;background-color:<?php echo $_smarty_tpl->tpl_vars['Color1']->value; ?> ;z-index:0;"> </div> <div id="Tx"> <img src="<?php echo $_smarty_tpl->tpl_vars['Tx']->value; ?> " alt="头像" /> </div> <div id="SynthesisInterface" style="display:none;"> </div> <div id="SkilltreeInterface" style="display:none;"> </div> <div id="IntelligenceInterface" style="display:none;"> </div> <div id="Attribution" > <?php if ($_smarty_tpl->tpl_vars['Attitude']->value) { ?> <p>魔法阵营</p> <?php } else { ?> <p>科学阵营</p> <?php } ?> </div> <div id="Movecd"> 这里应该显示移动冷却时间 </div> <div id="Searchcd"> 这里应该显示探索冷却时间 </div> <div id="Search"> <img src="Image/Search.gif" alt="探索"> </div> <div id="SearchInterface" style="display:none;"> </div> <?php echo $_smarty_tpl->getSubTemplate("footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <?php }
/** * load a config file, optionally load just selected sections * * @param string $config_file filename * @param mixed $sections array of section names, single section or null */ public function configLoad($config_file, $sections = null) { // load Config class $config = new Smarty_Internal_Config($config_file, $this->smarty, $this); $config->loadConfigVars($sections); }
function content_50c33df49ade84_85538769($_smarty_tpl) { ?> <?php $_config = new Smarty_Internal_Config("test.conf", $_smarty_tpl->smarty, $_smarty_tpl); $_config->loadConfigVars("setup", 'local'); ob_start(); echo $_smarty_tpl->tpl_vars['title']->value; $_tmp1 = ob_get_clean(); echo $_smarty_tpl->getSubTemplate("header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('title' => $_tmp1), 0); ?> <link rel="stylesheet" type="text/css" href="./JsCss/style_0.css" /> <script type="text/javascript" src="Chat/Chat.js"></script> <script type="text/javascript" src="Ajax/PlayerAttend.js"></script> <script> var begin; function go() { Showplayer(<?php echo $_smarty_tpl->tpl_vars['Attitude']->value; ?> ) Showchat('','',<?php echo $_smarty_tpl->tpl_vars['Attitude']->value; ?> ) } </script> <script type="text/javascript"> function startTime() { var Nowstamp = (Date.parse(new Date()))/1000; var Betweenstamp=Nowstamp-<?php echo $_smarty_tpl->tpl_vars['LastTime']->value; ?> var stamp=<?php echo $_smarty_tpl->tpl_vars['Readytime']->value; ?> -Betweenstamp var m=Math.floor(stamp/60) var s=stamp%60 if(stamp<=0) { m=0 s=0 } document.getElementById('stamp').innerHTML="<br /><br /><br />距离游戏开始还有<br />"+m+":"+s if(m>0||s>0) { t=setTimeout('startTime()',500) } } </script> <script type="text/javascript"> function scrollWindow() { scroll(0, 100000); setTimeout('scrollWindow()', 1000); } window.onload = function() { scrollWindow(); } </script> </head> <body style="background-color:rgb(218,83,44);color:#000000;" onload="startTime()"> <?php echo $_smarty_tpl->getSubTemplate("bar.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <script>go()</script> <div class="IndexInfo"> <br /> <h2>欢迎来到<?php echo $_smarty_tpl->tpl_vars['GameTitle']->value; ?> 的世界</h2> <p>本次,您出生在科学阵营。</p> <p>目标:击败侵犯领土的怪物,夺回家园</p> <p>注意:此时退出或消极游戏将受到惩罚</p> <?php if ($_smarty_tpl->tpl_vars['gamemode']->value == 1) { ?> <p>在这里你可以与你的战友商量战术</p> <p>祝游戏愉快</p> <?php } if ($_smarty_tpl->tpl_vars['gamemode']->value == 2) { ?> <p>游戏已经开始,请尽快加入</p> <p>祝游戏愉快</p> <?php } ?> </div> <frame> <form method="post" id="chatform" onsubmit="Showchat(<?php echo $_smarty_tpl->tpl_vars['User']->value; ?> ,this.value,<?php echo $_smarty_tpl->tpl_vars['Attitude']->value; ?> )"> <input type="text" class="field" name="s" id="chat" placeholder="聊天" /> </form> <div id="Chatdata" style="width:300px;height:265px; overflow-y:auto;"> </div> </frame> <div id="Playerattend"> </div> <div id="stamp"> </div> </div> <div id="Announcement"> <p><?php echo $_smarty_tpl->tpl_vars['Announcement']->value; ?> </p> </div> <div id="Start"> </div> <?php echo $_smarty_tpl->getSubTemplate("footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); }
function content_513f19436a4e30_18428502($_smarty_tpl) { if (!is_callable('smarty_modifier_truncate')) { include 'C:\\wamp\\www\\chuhan\\Smarty\\plugins\\modifier.truncate.php'; } $_config = new Smarty_Internal_Config("Web.conf", $_smarty_tpl->smarty, $_smarty_tpl); $_config->loadConfigVars(null, 'local'); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="keywords" content="<?php echo $_smarty_tpl->getConfigVariable('keywords'); ?> " /> <meta http-equiv="description" content="<?php echo $_smarty_tpl->getConfigVariable('description'); ?> " /> <title><?php echo $_smarty_tpl->getConfigVariable('title'); ?> </title> <link media="screen" href="css/index.css" type="text/css" rel="stylesheet"> <script src="js/nav.js" type="text/javascript"></script> <script src="js/Common.js" type="text/javascript"></script> </head> <body> <?php echo $_smarty_tpl->getSubTemplate("Common/Menu.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('name' => "menu"), 0); ?> <div class="main980 f_n"><img src="images/index.jpg" width="980" height="300" border="0" alt="上海楚瀚展览服务有限公司" /></div> <div class="main980 f_n"> <div class="indexCenter"> <div class="indexLeft"> <div class="indexAbout "> <div class="indexAboutTitle"><span>公司简介</span></div> <div class="index_about_content"><img src="images/about.jpg" width="200" height="148" border="0" align="left" alt=""/> <?php echo $_smarty_tpl->tpl_vars['about']->value; ?> </div> </div> </div> <div class="indexRight"> <div class="indexRightTitle">新闻资讯</div> <ul> <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['p1'])) { unset($_smarty_tpl->tpl_vars['smarty']->value['section']['p1']); } $_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['name'] = 'p1'; $_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['loop'] = is_array($_loop = $_smarty_tpl->tpl_vars['newsList']->value) ? count($_loop) : max(0, (int) $_loop); unset($_loop); $_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['show'] = true; $_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['loop']; $_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['step'] = 1; $_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['loop'] - 1; if ($_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['show']) { $_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['loop']; if ($_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['total'] == 0) { $_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['show'] = false; } } else { $_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['total'] = 0; } if ($_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['show']) { for ($_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['iteration'] = 1; $_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['total']; $_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['iteration']++) { $_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['iteration']; $_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['step']; $_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['step']; $_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['first'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['iteration'] == 1; $_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['last'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['total']; ?> <li class="indexNewsTitle"><a href="shownews.php?id=<?php echo $_smarty_tpl->tpl_vars['newsList']->value[$_smarty_tpl->getVariable('smarty')->value['section']['p1']['index']]['id']; ?> "><?php echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['newsList']->value[$_smarty_tpl->getVariable('smarty')->value['section']['p1']['index']]['title'], 23, "..."); ?> </a></li><li class="indexNewsTime"><?php echo $_smarty_tpl->tpl_vars['newsList']->value[$_smarty_tpl->getVariable('smarty')->value['section']['p1']['index']]['addTime']; ?> </li> <?php } } ?> </ul> </div> </div> </div> <div class="main980 f_n"> <div class="indexBottomPic"> <div id="productshow" style="overflow:hidden;height:130px;width:980px;"> <table width="100%" border="0" align="left" cellpadding="0" cellspacing="0" cellspace="0"> <tr> <td valign="top" id="productshow1"> <table width="100%" border="0" align="left" cellpadding="0" cellspacing="0" cellspace="0"> <tbody> <tr> <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['p1'])) { unset($_smarty_tpl->tpl_vars['smarty']->value['section']['p1']); } $_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['name'] = 'p1'; $_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['loop'] = is_array($_loop = $_smarty_tpl->tpl_vars['productList']->value) ? count($_loop) : max(0, (int) $_loop); unset($_loop); $_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['show'] = true; $_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['loop']; $_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['step'] = 1; $_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['loop'] - 1; if ($_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['show']) { $_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['loop']; if ($_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['total'] == 0) { $_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['show'] = false; } } else { $_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['total'] = 0; } if ($_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['show']) { for ($_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['iteration'] = 1; $_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['total']; $_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['iteration']++) { $_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['iteration']; $_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['step']; $_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['step']; $_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['first'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['iteration'] == 1; $_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['last'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['p1']['total']; ?> <td valign="bottom"><ul><li><a href="showexample.php?id=<?php echo $_smarty_tpl->tpl_vars['productList']->value[$_smarty_tpl->getVariable('smarty')->value['section']['p1']['index']]['id']; ?> "><img src="upload/<?php echo $_smarty_tpl->tpl_vars['productList']->value[$_smarty_tpl->getVariable('smarty')->value['section']['p1']['index']]['detailPic']; ?> " width="280" height="117" border="0" /></li><li><?php echo $_smarty_tpl->tpl_vars['productList']->value[$_smarty_tpl->getVariable('smarty')->value['section']['p1']['index']]['title']; ?> </li></ul></td> <?php } } ?> </tr> </tbody> </table> </td> <td id="productshow2" valign="top"></td> </tr> </table> </div> <script type="text/javascript" language="javascript"> var speedProduct=15; scrollltr=true; productshow2.innerHTML=productshow1.innerHTML; function scrollDirection(ltr) { scrollltr = ltr; } function MarqueeProduct(){ if(scrollltr) { if(productshow2.offsetWidth-productshow.scrollLeft<=0) productshow.scrollLeft-=productshow1.offsetWidth else{ productshow.scrollLeft++ } } else { if(productshow.scrollLeft<=0) productshow.scrollLeft+=productshow2.offsetWidth else{ productshow.scrollLeft-- } } } var MyMarProduct=setInterval(MarqueeProduct,speedProduct) productshow.onmouseover=function() {clearInterval(MyMarProduct)} productshow.onmouseout=function() {MyMarProduct=setInterval(MarqueeProduct,speedProduct)} </script> </div> </div> <?php echo $_smarty_tpl->getSubTemplate("Common/Bottom.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('name' => "bottom"), 0); ?> </body> </html> <?php }
include 'G:\\xampp\\htdocs\\Smarty-3.0b6\\libs\\plugins\\modifier.date_format.php'; } if (!is_callable('smarty_function_html_select_date')) { include 'G:\\xampp\\htdocs\\Smarty-3.0b6\\libs\\plugins\\function.html_select_date.php'; } if (!is_callable('smarty_function_html_select_time')) { include 'G:\\xampp\\htdocs\\Smarty-3.0b6\\libs\\plugins\\function.html_select_time.php'; } if (!is_callable('smarty_function_html_options')) { include 'G:\\xampp\\htdocs\\Smarty-3.0b6\\libs\\plugins\\function.html_options.php'; } echo '/*%%SmartyNocache:210894b526a449c8d84-86778666%%*/<?php if (!is_callable(\'smarty_modifier_capitalize\')) include \'G:\\xampp\\htdocs\\Smarty-3.0b6\\libs\\plugins\\modifier.capitalize.php\'; if (!is_callable(\'smarty_modifier_date_format\')) include \'G:\\xampp\\htdocs\\Smarty-3.0b6\\libs\\plugins\\modifier.date_format.php\'; if (!is_callable(\'smarty_modifier_upper\')) include \'G:\\xampp\\htdocs\\Smarty-3.0b6\\libs\\plugins\\modifier.upper.php\'; ?>/*/%%SmartyNocache:210894b526a449c8d84-86778666%%*/'; $_config = new Smarty_Internal_Config("test.conf", $_smarty_tpl->smarty, $_smarty_tpl); $_config->loadConfigVars("setup", $_smarty_tpl->smarty); $_template = new Smarty_Internal_Template("header.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 9999, null); $_template->assign('title', 'foo'); echo $_template->getRenderedTemplate(); $_template->updateParentVariables(0); unset($_template); ?> <PRE> <?php if ($_smarty_tpl->getConfigVariable('bold')) { ?> <b><?php
function content_5527d65f1a1878_65824598($_smarty_tpl) { if (!is_callable('smarty_modifier_date_format')) { include '/home/diderson/webdev/PHP5/diderson.dev/anc-research/website/components/smarty/plugins/modifier.date_format.php'; } ?> <!DOCTYPE html> <html> <head> <?php $_config = new Smarty_Internal_Config("client/admin.conf", $_smarty_tpl->smarty, $_smarty_tpl); $_config->loadConfigVars(null, 'local'); ?> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="Author" content="Diderson BAKA"> <meta name="Reply-to" content="*****@*****.**"> <meta name="Identifier-URL" content="www.diderson.com"> <title> <?php if (isset($_smarty_tpl->tpl_vars['pageObject']->value->templateType) && $_smarty_tpl->tpl_vars['pageObject']->value->templateType == 'list') { ?> <?php if (isset($_smarty_tpl->tpl_vars['pageObject']->value->listHtmlPageTitle) && $_smarty_tpl->tpl_vars['pageObject']->value->listHtmlPageTitle != '') { echo htmlspecialchars($_smarty_tpl->tpl_vars['pageObject']->value->listHtmlPageTitle, ENT_QUOTES, 'UTF-8', true); ?> :: <?php } } elseif (isset($_smarty_tpl->tpl_vars['pageObject']->value->templateType) && $_smarty_tpl->tpl_vars['pageObject']->value->templateType == 'edit') { ?> <?php if (isset($_smarty_tpl->tpl_vars['pageObject']->value->id) && $_smarty_tpl->tpl_vars['pageObject']->value->id != '') { ?> <?php if (isset($_smarty_tpl->tpl_vars['pageObject']->value->editHtmlPageTitle) && $_smarty_tpl->tpl_vars['pageObject']->value->editHtmlPageTitle != '') { echo htmlspecialchars($_smarty_tpl->tpl_vars['pageObject']->value->editHtmlPageTitle, ENT_QUOTES, 'UTF-8', true); ?> :: <?php } ?> <?php } else { ?> <?php if (isset($_smarty_tpl->tpl_vars['pageObject']->value->insertHtmlPageTitle) && $_smarty_tpl->tpl_vars['pageObject']->value->insertHtmlPageTitle != '') { echo htmlspecialchars($_smarty_tpl->tpl_vars['pageObject']->value->insertHtmlPageTitle, ENT_QUOTES, 'UTF-8', true); ?> :: <?php } ?> <?php } } elseif (isset($_smarty_tpl->tpl_vars['pageObject']->value->templateType) && $_smarty_tpl->tpl_vars['pageObject']->value->templateType == 'view') { ?> <?php if (isset($_smarty_tpl->tpl_vars['pageObject']->value->viewHtmlPageTitle) && $_smarty_tpl->tpl_vars['pageObject']->value->viewHtmlPageTitle != '') { echo htmlspecialchars($_smarty_tpl->tpl_vars['pageObject']->value->viewHtmlPageTitle, ENT_QUOTES, 'UTF-8', true); ?> :: <?php } } elseif (isset($_smarty_tpl->tpl_vars['htmlpagetitle']->value) && $_smarty_tpl->tpl_vars['htmlpagetitle']->value != '') { ?> <?php echo htmlspecialchars($_smarty_tpl->tpl_vars['htmlpagetitle']->value, ENT_QUOTES, 'UTF-8', true); ?> :: <?php } echo htmlspecialchars($_smarty_tpl->getConfigVariable('clientName'), ENT_QUOTES, 'UTF-8', true); ?> - <?php echo htmlspecialchars($_smarty_tpl->getConfigVariable('adminTitle'), ENT_QUOTES, 'UTF-8', true); ?> </title> <!-- Core CSS - Include with every page --> <link href="css/bootstrap.min.css" rel="stylesheet"> <link href="font-awesome/css/font-awesome.css" rel="stylesheet"> <link rel="stylesheet" href="js/fancybox/source/jquery.fancybox.css?v=2.1.5" type="text/css" media="screen" /> <!-- Page-Level Plugin CSS - Dashboard --> <link href="css/plugins/morris/morris-0.4.3.min.css" rel="stylesheet"> <link href="css/plugins/timeline/timeline.css" rel="stylesheet"> <link href="css/plugins/dataTables/dataTables.bootstrap.css" rel="stylesheet"> <!-- Diderson Admin CSS - Include with every page --> <link href="style/style.css" rel="stylesheet" type="text/css"> <link href="css/sb-admin.css" rel="stylesheet"> <link href="css/style.css" rel="stylesheet"> <script type="text/javascript" src="js/jquery-1.10.2.js"></script> <script type="text/javascript" src="js/tinymce/tinymce.min.js"></script> <script type="text/javascript" src="js/fancybox/source/jquery.fancybox.pack.js?v=2.1.5"></script> </head> <body> <div id="wrapper"> <nav class="navbar navbar-default navbar-fixed-top" role="navigation" style="margin-bottom: 0"> <div class="navbar-header"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".sidebar-collapse"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand" href="index">ANC Research</a> </div> <!-- /.navbar-header --> <ul class="nav navbar-top-links navbar-right"> <li class="dropdown"> <!-- first dropdown --> </li> <!-- /.dropdown --> <?php if ($_SESSION['BACKEND_ADMIN']['ADMIN_LASTLOGINDATE']) { ?> <li class="dropdown"> Last Login: <strong><?php echo htmlspecialchars(smarty_modifier_date_format($_SESSION['BACKEND_ADMIN']['ADMIN_LASTLOGINDATE'], "%e %B %Y %H:%M:%S"), ENT_QUOTES, 'UTF-8', true); ?> </strong> </li> <?php } ?> <!-- /.dropdown --> <li class="dropdown"> <a class="dropdown-toggle" data-toggle="dropdown" href="#"> <?php if ($_SESSION['BACKEND_ADMIN']['ADMIN_TYPE'] == 'councillor') { ?> Councillor: <?php } elseif ($_SESSION['BACKEND_ADMIN']['ADMIN_TYPE'] == 'chiefwhip') { ?> Chief Whip: <?php } elseif ($_SESSION['BACKEND_ADMIN']['ADMIN_TYPE'] == 'provincialsec') { ?> Regional Sec:<?php } ?> <?php echo htmlspecialchars($_SESSION['BACKEND_ADMIN']['ADMIN_FIRSTNAME'], ENT_QUOTES, 'UTF-8', true); ?> <?php echo htmlspecialchars($_SESSION['BACKEND_ADMIN']['ADMIN_LASTNAME'], ENT_QUOTES, 'UTF-8', true); ?> <i class="fa fa-user fa-fw"></i> <i class="fa fa-caret-down"></i> </a> <ul class="dropdown-menu dropdown-user"> <li><a href="profile-edit"><i class="fa fa-user fa-fw"></i>Profile</a> <li><a href="member-info-edit"><i class="fa fa-user fa-fw"></i>Personal Info</a> <li><a href="index?action=logout"><i class="fa fa-sign-out fa-fw"></i> Logout</a> </li> </ul> <!-- /.dropdown-user --> </li> <!-- /.dropdown --> </ul> <!-- /.navbar-top-links --> <div class="navbar-default navbar-static-side" role="navigation"> <?php echo $_smarty_tpl->getSubTemplate("templates-admin/block/left-sidebar.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0); ?> <!-- /.sidebar-collapse --> </div> <!-- /.navbar-static-side --> </nav> <!-- #page-wrapper --> <!-- Build page from here: --> <?php if ($_smarty_tpl->tpl_vars['pageObject']->value->templateType == 'list') { ?> <?php echo $_smarty_tpl->getSubTemplate("templates-admin/block/list-bodyContent.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0); ?> <?php } elseif ($_smarty_tpl->tpl_vars['pageObject']->value->templateType == 'edit') { ?> <?php echo $_smarty_tpl->getSubTemplate("templates-admin/block/edit-bodyContent.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0); ?> <?php } elseif ($_smarty_tpl->tpl_vars['pageObject']->value->templateType == 'view') { ?> <?php echo $_smarty_tpl->getSubTemplate("templates-admin/block/view-bodyContent.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0); ?> <?php } else { ?> <?php echo $_smarty_tpl->getSubTemplate((string) $_smarty_tpl->tpl_vars['contentTemplate']->value, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0); ?> <?php } ?> <!-- End Build page from here: --> <!-- /#page-wrapper --> <div id="footer"> <?php echo $_smarty_tpl->getSubTemplate("templates-admin/block/footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0); ?> </div> </div> <!-- /#wrapper --> <!-- Core Scripts - Include with every page --> <script src="js/bootstrap.min.js"></script> <script src="js/plugins/metisMenu/jquery.metisMenu.js"></script> <?php if ($_smarty_tpl->tpl_vars['pageObject']->value->templateType == 'list') { ?> <!-- Page-Level Plugin Scripts - Tables --> <script src="js/plugins/dataTables/jquery.dataTables.js"></script> <script src="js/plugins/dataTables/dataTables.bootstrap.js"></script> <script src="js/plugins/dataTables/dataTableExtension.js"></script> <?php } elseif ($_smarty_tpl->tpl_vars['pageObject']->value->templateType == 'edit') { ?> <?php } elseif ($_smarty_tpl->tpl_vars['sectionid']->value == 'dashboards') { ?> <!-- Page-Level Plugin Scripts - Dashboard --> <script src="js/plugins/morris/raphael-2.1.0.min.js"></script> <script src="js/plugins/morris/morris.js"></script> <script src="js/plugins/flot/jquery.flot.js"></script> <script src="js/plugins/flot/jquery.flot.tooltip.min.js"></script> <script src="js/plugins/flot/jquery.flot.resize.js"></script> <script src="js/plugins/flot/jquery.flot.pie.js"></script> <!-- Page-Level Demo Scripts - Dashboard - Use for reference --> <script src="js/demo/dashboard-demo.js"></script> <?php } ?> <!-- bootbox plugins --> <script type="text/javascript" src="js/bootbox.min.js"></script> <!-- validate plugins --> <script type="text/javascript" src="js/jquery.validate/jquery.validate.js"></script> <!-- SB Admin Scripts - Include with every page --> <script src="js/sb-admin.js"></script> <script type="text/javascript"> /* <![CDATA[ */ $(document).ready(function() { <?php if ($_smarty_tpl->tpl_vars['pageObject']->value->templateType == 'list') { ?> // $('#dataTables-list-page').dataTable(); <?php } ?> }); /* ]]> */ </script> <!-- Diderson Admin Scripts --> <script type="text/javascript" src="js/admin.diderson.js"></script> </body> </html> <?php }
function content_513f1b121d3811_09791429($_smarty_tpl) { if (!is_callable('smarty_function_html_radios')) { include 'C:\\wamp\\www\\chuhan\\Smarty\\plugins\\function.html_radios.php'; } $_config = new Smarty_Internal_Config("Admin.conf", $_smarty_tpl->smarty, $_smarty_tpl); $_config->loadConfigVars(null, 'local'); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>无标题文档</title> <link rel="stylesheet" type="text/css" href="css.css"> </head> <body> <table width="95%" border="1" cellspacing="0" cellpadding="0" align="center"> <tr> <td height="30" style="background-image:url(images/bg_list.gif)"><div style="margin-left:10px; font-weight:bold; color:#ffffff; font-size:16px">案例编辑</div></td> </tr> <tr> <td><form name="addFriend" id="addFriend" action="UpdateProduct.php?action=editProduct&productID=<?php echo $_smarty_tpl->tpl_vars['productID']->value; ?> " method="post"> <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" style="border:1px solid #CCCCCC"> <tr><td height="5" colspan="2"></td></tr> <tr> <td height="25" align="right">案例网址:</td> <td><input name="productUrl" type="text" size="60" value="<?php echo $_smarty_tpl->tpl_vars['productUrl']->value; ?> "/></td> </tr> <tr> <td height="25" align="right">案例标题:</td> <td><input name="productTitle" type="text" size="60" value="<?php echo $_smarty_tpl->tpl_vars['productTitle']->value; ?> "/></td> </tr> <tr> <td height="25" align="right">案例排序:</td> <td><input name="productOrder" type="text" size="30" value="<?php echo $_smarty_tpl->tpl_vars['productOrder']->value; ?> "/><font style="color:#FF0000; font-size:12px;">注:默认状态是“1”;</font></td> </tr> <!--<tr> <td height="25" align="right">是否新品:</td> <td><?php echo smarty_function_html_radios(array('name' => "npID", 'options' => $_smarty_tpl->tpl_vars['newProduct']->value, 'checked' => $_smarty_tpl->tpl_vars['npID']->value), $_smarty_tpl); ?> </td> </tr> <tr> <td height="25" align="right">是否推荐:</td> <td><?php echo smarty_function_html_radios(array('name' => "tuijianID", 'options' => $_smarty_tpl->tpl_vars['tuijian']->value, 'checked' => $_smarty_tpl->tpl_vars['tjID']->value), $_smarty_tpl); ?> </td> </tr> <tr> <td height="25" align="right">产品类别:</td> <td> <select name="classID" style="width:150px;"> /*<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['item']->_loop = false; $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable(); $_from = $_smarty_tpl->tpl_vars['classList']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) { $_smarty_tpl->tpl_vars['item']->_loop = true; $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key; ?> <?php if ($_smarty_tpl->tpl_vars['item']->value['id'] == $_smarty_tpl->tpl_vars['classID']->value) { ?> <option value="<?php echo $_smarty_tpl->tpl_vars['item']->value['id']; ?> " selected="selected"><?php echo $_smarty_tpl->tpl_vars['item']->value['cnClassName']; ?> </option> /*<?php } else { ?> <option value="<?php echo $_smarty_tpl->tpl_vars['item']->value['id']; ?> "><?php echo $_smarty_tpl->tpl_vars['item']->value['cnClassName']; ?> </option> /*<?php } ?> <?php } ?> */ </select> </td> </tr>--> <tr> <td height="25" align="right">细节图:</td> <td><input name="productPic" type="text" size="50" value="<?php echo $_smarty_tpl->tpl_vars['productPic']->value; ?> "/> <label style="cursor:hand" onClick="window.open('uploadPro/index.html','上传图片','height=200,width=400,top=200,left=200')">上传图片</label></td> </tr> <tr> <td height="25" align="right">缩略图:</td> <td><input name="detailPic" type="text" size="50" value="<?php echo $_smarty_tpl->tpl_vars['detailPic']->value; ?> "/></td> </tr> <!--<tr> <td height="25" align="right">产品细节图:</td> <td><input name="productDetailPic" type="text" size="40" value="<?php echo $_smarty_tpl->tpl_vars['productDetailPic']->value; ?> "/> <label style="cursor:hand" onClick="window.open('upload/upimg.htm','上传图片','height=200,width=400,top=200,left=200')">上传图片</label></td> </tr> <tr> <td height="25" align="right">产品详情:</td> <td><?php echo $_smarty_tpl->tpl_vars['editor']->value; ?> </td><input type="hidden" name="FCKediter" value="<?php echo $_smarty_tpl->tpl_vars['FCKediterValue']->value; ?> " /> </tr>--> <tr><td height="5" colspan="2"></td></tr> <tr><td height="25"></td><td><input name="submit" type="submit" value="立即保存"/> <input name="" type="reset" value="重新填写"/></td></tr> </table></form></td> </tr> </table> </body> </html> <?php }
function content_552ea93a63db00_36830457($_smarty_tpl) { ?> <!DOCTYPE html> <html> <head> <?php $_config = new Smarty_Internal_Config("client/admin.conf", $_smarty_tpl->smarty, $_smarty_tpl); $_config->loadConfigVars(null, 'local'); ?> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title><?php echo htmlspecialchars($_smarty_tpl->getConfigVariable('adminTitle'), ENT_QUOTES, 'UTF-8', true); ?> </title> <!-- Core CSS - Include with every page --> <link href="css/bootstrap.min.css" rel="stylesheet"> <link href="font-awesome/css/font-awesome.css" rel="stylesheet"> <!-- SB Admin CSS - Include with every page --> <link href="css/sb-admin.css" rel="stylesheet"> <style> .btn-success { color: #fff; background-color: #000; border-color: #000; } </style> </head> <body style="background-color:#ffbf00;"> <div class="container"> <div class="row"> <div class="col-md-4 col-md-offset-4"> <div class="login-panel panel panel-default"> <div class="panel-heading" style="text-align:center; /* background-color:#dcdcde; */"> <?php if ($_smarty_tpl->tpl_vars['loginSuccess']->value == 'false') { ?> <div class="alert alert-danger alert-dismissable"><button class="close" aria-hidden="true" data-dismiss="alert" type="button">×</button>The username or password is incorrect.</div> <?php } ?> <?php if (isset($_smarty_tpl->tpl_vars['p']->value) && $_smarty_tpl->tpl_vars['p']->value == 's') { ?> <div class="alert alert-success alert-dismissable"><button class="close" aria-hidden="true" data-dismiss="alert" type="button">×</button>You have been registered with success <br> Please Check your email to confirm your account before login</div> <?php } ?> <?php if (isset($_smarty_tpl->tpl_vars['p']->value) && $_smarty_tpl->tpl_vars['p']->value == 'f') { ?> <div class="alert alert-success alert-dismissable"><button class="close" aria-hidden="true" data-dismiss="alert" type="button">×</button>Password have been sent<br> Please use your credential to login</div> <?php } ?> <?php if (isset($_smarty_tpl->tpl_vars['p']->value) && $_smarty_tpl->tpl_vars['p']->value == 'acts') { ?> <div class="alert alert-success alert-dismissable"><button class="close" aria-hidden="true" data-dismiss="alert" type="button">×</button>Your account has been activated<br> Please use your credential to login</div> <?php } ?> <?php if (isset($_smarty_tpl->tpl_vars['p']->value) && $_smarty_tpl->tpl_vars['p']->value == 'actf') { ?> <div class="alert alert-danger alert-dismissable"><button class="close" aria-hidden="true" data-dismiss="alert" type="button">×</button>Your account has not been activated<br> if it's already activated Please use your credential to login</div> <?php } ?> <?php if (isset($_smarty_tpl->tpl_vars['p']->value) && $_smarty_tpl->tpl_vars['p']->value == 'acty') { ?> <div class="alert alert-info alert-dismissable"><button class="close" aria-hidden="true" data-dismiss="alert" type="button">×</button>Your account is already activated<br> Please use your credential to login</div> <?php } ?> <img src="<?php echo htmlspecialchars($_smarty_tpl->getConfigVariable('clientLogo'), ENT_QUOTES, 'UTF-8', true); ?> " alt="<?php echo htmlspecialchars($_smarty_tpl->getConfigVariable('clientName'), ENT_QUOTES, 'UTF-8', true); ?> Logo" style="width:100%;" /> </div> <div class="panel-body"> <form role="form" action="index" id="loginForm" method="post"> <fieldset> <div class="form-group"> <input class="form-control" placeholder="E-mail" id="loginemail" name="loginemail" type="email" autofocus> </div> <div class="form-group"> <input class="form-control" placeholder="Password" id="loginpassword" name="loginpassword" type="password" value=""> <input type="hidden" id="submitloginform" name="submitloginform" value="true" /> <input type="hidden" id="referrer" name="referrer" value="<?php echo $_smarty_tpl->tpl_vars['referrer']->value; ?> " /> </div> <button class="btn btn-lg btn-success btn-block">Login</button> <div class="checkbox"> <label> <a href="/registration">Sign up</a> | <a href="/forgot-password">forgot password</a> </label> </div> </fieldset> </form> </div> </div> </div> </div> </div> <!-- Core Scripts - Include with every page --> <script src="js/jquery-1.10.2.js"></script> <script src="js/bootstrap.min.js"></script> <script src="js/plugins/metisMenu/jquery.metisMenu.js"></script> <!-- SB Admin Scripts - Include with every page --> <script src="js/sb-admin.js"></script> </body> </html> <?php }
function content_4f8d361e373ac0_51310984($_smarty_tpl) { if (!is_callable('smarty_modifier_capitalize')) { include 'C:\\wamp\\www\\mhealth\\lib\\smarty\\libs\\plugins\\modifier.capitalize.php'; } if (!is_callable('smarty_modifier_date_format')) { include 'C:\\wamp\\www\\mhealth\\lib\\smarty\\libs\\plugins\\modifier.date_format.php'; } if (!is_callable('smarty_function_html_select_date')) { include 'C:\\wamp\\www\\mhealth\\lib\\smarty\\libs\\plugins\\function.html_select_date.php'; } if (!is_callable('smarty_function_html_select_time')) { include 'C:\\wamp\\www\\mhealth\\lib\\smarty\\libs\\plugins\\function.html_select_time.php'; } if (!is_callable('smarty_function_html_options')) { include 'C:\\wamp\\www\\mhealth\\lib\\smarty\\libs\\plugins\\function.html_options.php'; } $_config = new Smarty_Internal_Config("test.conf", $_smarty_tpl->smarty, $_smarty_tpl); $_config->loadConfigVars("setup", 'local'); echo $_smarty_tpl->getSubTemplate("header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 9999, null, array('title' => 'foo'), 0); ?> <PRE> <?php if ($_smarty_tpl->getConfigVariable('bold')) { ?> <b><?php } ?> Title: <?php echo smarty_modifier_capitalize($_smarty_tpl->getConfigVariable('title')); ?> <?php if ($_smarty_tpl->getConfigVariable('bold')) { ?> </b><?php } ?> The current date and time is <?php echo smarty_modifier_date_format(time(), "%Y-%m-%d %H:%M:%S"); ?> The value of global assigned variable $SCRIPT_NAME is <?php echo $_smarty_tpl->tpl_vars['SCRIPT_NAME']->value; ?> Example of accessing server environment variable SERVER_NAME: <?php echo $_SERVER['SERVER_NAME']; ?> The value of {$Name} is <b><?php echo '/*%%SmartyNocache:169334f8d361e0ed897-29351448%%*/<?php echo $_smarty_tpl->tpl_vars[\'Name\']->value;?> /*/%%SmartyNocache:169334f8d361e0ed897-29351448%%*/'; ?> </b> variable modifier example of {$Name|upper} <b><?php echo '/*%%SmartyNocache:169334f8d361e0ed897-29351448%%*/<?php echo mb_strtoupper($_smarty_tpl->tpl_vars[\'Name\']->value, \'UTF-8\');?> /*/%%SmartyNocache:169334f8d361e0ed897-29351448%%*/'; ?> </b> An example of a section loop: <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['outer'])) { unset($_smarty_tpl->tpl_vars['smarty']->value['section']['outer']); } $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['name'] = 'outer'; $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['loop'] = is_array($_loop = $_smarty_tpl->tpl_vars['FirstName']->value) ? count($_loop) : max(0, (int) $_loop); unset($_loop); $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['show'] = true; $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['loop']; $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['step'] = 1; $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['loop'] - 1; if ($_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['show']) { $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['loop']; if ($_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['total'] == 0) { $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['show'] = false; } } else { $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['total'] = 0; } if ($_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['show']) { for ($_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['iteration'] = 1; $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['total']; $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['iteration']++) { $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['iteration']; $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['step']; $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['step']; $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['first'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['iteration'] == 1; $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['last'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['total']; if (1 & $_smarty_tpl->getVariable('smarty')->value['section']['outer']['index'] / 2) { ?> <?php echo $_smarty_tpl->getVariable('smarty')->value['section']['outer']['rownum']; ?> . <?php echo $_smarty_tpl->tpl_vars['FirstName']->value[$_smarty_tpl->getVariable('smarty')->value['section']['outer']['index']]; ?> <?php echo $_smarty_tpl->tpl_vars['LastName']->value[$_smarty_tpl->getVariable('smarty')->value['section']['outer']['index']]; ?> <?php } else { ?> <?php echo $_smarty_tpl->getVariable('smarty')->value['section']['outer']['rownum']; ?> * <?php echo $_smarty_tpl->tpl_vars['FirstName']->value[$_smarty_tpl->getVariable('smarty')->value['section']['outer']['index']]; ?> <?php echo $_smarty_tpl->tpl_vars['LastName']->value[$_smarty_tpl->getVariable('smarty')->value['section']['outer']['index']]; ?> <?php } } } else { ?> none <?php } ?> An example of section looped key values: <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['sec1'])) { unset($_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']); } $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['name'] = 'sec1'; $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['loop'] = is_array($_loop = $_smarty_tpl->tpl_vars['contacts']->value) ? count($_loop) : max(0, (int) $_loop); unset($_loop); $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['show'] = true; $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['loop']; $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['step'] = 1; $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['loop'] - 1; if ($_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['show']) { $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['loop']; if ($_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['total'] == 0) { $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['show'] = false; } } else { $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['total'] = 0; } if ($_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['show']) { for ($_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['iteration'] = 1; $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['total']; $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['iteration']++) { $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['iteration']; $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['step']; $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['step']; $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['first'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['iteration'] == 1; $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['last'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['total']; ?> phone: <?php echo $_smarty_tpl->tpl_vars['contacts']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec1']['index']]['phone']; ?> <br> fax: <?php echo $_smarty_tpl->tpl_vars['contacts']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec1']['index']]['fax']; ?> <br> cell: <?php echo $_smarty_tpl->tpl_vars['contacts']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec1']['index']]['cell']; ?> <br> <?php } } ?> <p> testing strip tags <table border=0><tr><td><A HREF="<?php echo $_smarty_tpl->tpl_vars['SCRIPT_NAME']->value; ?> "><font color="red">This is a test </font></A></td></tr></table> </PRE> This is an example of the html_select_date function: <form> <?php echo smarty_function_html_select_date(array('start_year' => 1998, 'end_year' => 2010), $_smarty_tpl); ?> </form> This is an example of the html_select_time function: <form> <?php echo smarty_function_html_select_time(array('use_24_hours' => false), $_smarty_tpl); ?> </form> This is an example of the html_options function: <form> <select name=states> <?php echo smarty_function_html_options(array('values' => $_smarty_tpl->tpl_vars['option_values']->value, 'selected' => $_smarty_tpl->tpl_vars['option_selected']->value, 'output' => $_smarty_tpl->tpl_vars['option_output']->value), $_smarty_tpl); ?> </select> </form> <?php echo $_smarty_tpl->getSubTemplate("footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 9999, null, array(), 0); ?> <?php }
function content_50f0196abbd7e2_26563312($_smarty_tpl) { $_config = new Smarty_Internal_Config("Admin.conf", $_smarty_tpl->smarty, $_smarty_tpl); $_config->loadConfigVars(null, 'local'); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>无标题文档</title> <link rel="stylesheet" type="text/css" href="css.css"> </head> <body> <form id="form" name="form" action="?action=allDel" method="post"> <table width="95%" border="1" cellspacing="0" cellpadding="0" align="center"> <tr> <td height="30" style="background-image:url(images/bg_list.gif)"><div style="margin-left:10px; font-weight:bold; color:#ffffff; font-size:16px">新闻管理中心</td> </tr> <tr> <td align="center"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td colspan="5" height="5"></td> </tr> <tr> <td width="2%"></td><td width="60%">新闻标题</td><td width="10%">新闻类别</td><td width="15%">添加时间</td><td width="15%">操作</td> </tr> <tr><td colspan="5"><hr width="100%" size="1" color="#CCCCCC"></td></tr> <?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['item']->_loop = false; $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable(); $_from = $_smarty_tpl->tpl_vars['newsArr']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) { $_smarty_tpl->tpl_vars['item']->_loop = true; $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key; ?> <tr onmousemove="style.backgroundColor='#eeeeee'" onmouseout="style.backgroundColor='#ffffff'"> <td align="left"><input name="selectid[]" type="checkbox" id="selectid" value="<?php echo $_smarty_tpl->tpl_vars['item']->value['id']; ?> "></td> <td height="30"><a href="../ShowNews.php?id=<?php echo $_smarty_tpl->tpl_vars['item']->value['id']; ?> &classID=<?php echo $_smarty_tpl->tpl_vars['item']->value['newsClass']; ?> " target="_blank"><?php echo $_smarty_tpl->tpl_vars['item']->value['cnTitle']; ?> </a></td> <td><?php echo $_smarty_tpl->tpl_vars['item']->value['cnClassName']; ?> </td> <td><?php echo $_smarty_tpl->tpl_vars['item']->value['addTime']; ?> </td> <td><a href="AddNews.php?newsID=<?php echo $_smarty_tpl->tpl_vars['item']->value['id']; ?> ">修改</a> | <a href="UpdateNews.php?action=deleteNews&newsID=<?php echo $_smarty_tpl->tpl_vars['item']->value['id']; ?> ">删除</a></td> </tr> <?php } ?> <tr><td colspan="5"><hr width="100%" size="1" color="#CCCCCC"></td></tr> <tr><td colspan="4" align="left"><input type="checkbox" name="checkbox2" value="Check All" onClick="allss()">全选 <input type="submit" name="Submit" value="删除选中内容" onClick="return scheck();"></td> <tr> <tr> <td colspan="5" bgcolor="#1D74CB" height="30" align="center"><div class="page"><?php echo $_smarty_tpl->tpl_vars['page']->value; ?> </div></td> </tr> </table></td> </tr> </table> </form> <script language="javascript"> function scheck() { if(!confirm('确认进行该操作吗?')) return false; } function allss() { var abc = document.form.getElementsByTagName("input"); if(abc[1].checked == true){ for (var i=0; i<abc.length; i++) if (abc[i].type == "checkbox") abc[i].checked = false; } else { for (var i=0; i<abc.length; i++) if (abc[i].type == "checkbox") abc[i].checked = true; } } </script> </body> </html> <?php }
/** * Compile all config files * * @param string $extension config file name extension * @param bool $force_compile force all to recompile * @param int $time_limit set maximum execution time * @param int $max_errors set maximum allowed errors * @param Smarty $smarty Smarty instance * @return integer number of config files compiled */ public static function compileAllConfig($extention, $force_compile, $time_limit, $max_errors, Smarty $smarty) { // switch off time limit if (function_exists('set_time_limit')) { @set_time_limit($time_limit); } $smarty->force_compile = $force_compile; $_count = 0; $_error_count = 0; // loop over array of template directories foreach ($smarty->getConfigDir() as $_dir) { $_compileDirs = new RecursiveDirectoryIterator($_dir); $_compile = new RecursiveIteratorIterator($_compileDirs); foreach ($_compile as $_fileinfo) { if (substr($_fileinfo->getBasename(), 0, 1) == '.' || strpos($_fileinfo, '.svn') !== false) { continue; } $_file = $_fileinfo->getFilename(); if (!substr_compare($_file, $extention, -strlen($extention)) == 0) { continue; } if ($_fileinfo->getPath() == substr($_dir, 0, -1)) { $_config_file = $_file; } else { $_config_file = substr($_fileinfo->getPath(), strlen($_dir)) . DS . $_file; } echo '<br>', $_dir, '---', $_config_file; flush(); $_start_time = microtime(true); try { $_config = new Smarty_Internal_Config($_config_file, $smarty); if ($_config->mustCompile()) { $_config->compileConfigSource(); echo ' compiled in ', microtime(true) - $_start_time, ' seconds'; flush(); } else { echo ' is up to date'; flush(); } } catch (Exception $e) { echo 'Error: ', $e->getMessage(), "<br><br>"; $_error_count++; } if ($max_errors !== null && $_error_count == $max_errors) { echo '<br><br>too many errors'; exit; } } } return $_count; }
function content_51452a62ba1631_77902048($_smarty_tpl) { if (!is_callable('smarty_modifier_truncate')) { include 'C:\\wamp\\www\\chuhan\\Smarty\\plugins\\modifier.truncate.php'; } $_config = new Smarty_Internal_Config("web.conf", $_smarty_tpl->smarty, $_smarty_tpl); $_config->loadConfigVars(null, 'local'); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="keywords" content="<?php echo $_smarty_tpl->getConfigVariable('keywords'); ?> " /> <meta http-equiv="description" content="<?php echo $_smarty_tpl->getConfigVariable('description'); ?> " /> <title><?php echo $_smarty_tpl->getConfigVariable('title'); ?> </title> <link media="screen" href="css/index.css" type="text/css" rel="stylesheet"> <script src="js/nav.js" type="text/javascript"></script> <script src="js/Common.js" type="text/javascript"></script> </head> <body> <?php echo $_smarty_tpl->getSubTemplate("Common/Menu.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('name' => "menu"), 0); ?> <div class="main980 f_n"><img src="images/005.jpg" width="980" height="300" border="0" alt="上海楚瀚展览服务有限公司" /></div> <div class="main980 f_n"> <div class="indexCenter"> <div class="commonLeft"> <div class="recomNews"> <div class="recomNewsTitle">热点新闻</div> <ul> <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['leftNews'])) { unset($_smarty_tpl->tpl_vars['smarty']->value['section']['leftNews']); } $_smarty_tpl->tpl_vars['smarty']->value['section']['leftNews']['name'] = 'leftNews'; $_smarty_tpl->tpl_vars['smarty']->value['section']['leftNews']['loop'] = is_array($_loop = $_smarty_tpl->tpl_vars['newsLeft']->value) ? count($_loop) : max(0, (int) $_loop); unset($_loop); $_smarty_tpl->tpl_vars['smarty']->value['section']['leftNews']['show'] = true; $_smarty_tpl->tpl_vars['smarty']->value['section']['leftNews']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['leftNews']['loop']; $_smarty_tpl->tpl_vars['smarty']->value['section']['leftNews']['step'] = 1; $_smarty_tpl->tpl_vars['smarty']->value['section']['leftNews']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['leftNews']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['leftNews']['loop'] - 1; if ($_smarty_tpl->tpl_vars['smarty']->value['section']['leftNews']['show']) { $_smarty_tpl->tpl_vars['smarty']->value['section']['leftNews']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['leftNews']['loop']; if ($_smarty_tpl->tpl_vars['smarty']->value['section']['leftNews']['total'] == 0) { $_smarty_tpl->tpl_vars['smarty']->value['section']['leftNews']['show'] = false; } } else { $_smarty_tpl->tpl_vars['smarty']->value['section']['leftNews']['total'] = 0; } if ($_smarty_tpl->tpl_vars['smarty']->value['section']['leftNews']['show']) { for ($_smarty_tpl->tpl_vars['smarty']->value['section']['leftNews']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['leftNews']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['leftNews']['iteration'] = 1; $_smarty_tpl->tpl_vars['smarty']->value['section']['leftNews']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['leftNews']['total']; $_smarty_tpl->tpl_vars['smarty']->value['section']['leftNews']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['leftNews']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['leftNews']['iteration']++) { $_smarty_tpl->tpl_vars['smarty']->value['section']['leftNews']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['leftNews']['iteration']; $_smarty_tpl->tpl_vars['smarty']->value['section']['leftNews']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['leftNews']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['leftNews']['step']; $_smarty_tpl->tpl_vars['smarty']->value['section']['leftNews']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['leftNews']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['leftNews']['step']; $_smarty_tpl->tpl_vars['smarty']->value['section']['leftNews']['first'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['leftNews']['iteration'] == 1; $_smarty_tpl->tpl_vars['smarty']->value['section']['leftNews']['last'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['leftNews']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['leftNews']['total']; ?> <li><a href="shownews.php?newsID=<?php echo $_smarty_tpl->tpl_vars['newsLeft']->value[$_smarty_tpl->getVariable('smarty')->value['section']['leftNews']['index']]['id']; ?> "><?php echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['newsLeft']->value[$_smarty_tpl->getVariable('smarty')->value['section']['leftNews']['index']]['title'], "22", "..."); ?> </a></li> <?php } } ?> </ul> </div> <div class="recomContact"> <div class="recomContactTitle">联系我们</div> <div class="recomContactMemo"> 地址:上海市肇嘉浜路1065号飞雕国际大厦1109室<br/> 电话:+86-21-31254360<br/> 传真:+86-21-64230683<br/> E-mail:liubin123cn@126.com </div> </div> </div> <div class="commonRight"> <div class="about"> <div class="aboutTitle"><div class="aboutLeftTitle">新闻中心</div><div class="aboutRightTitle">您现在的位置:<a href="/">首页</a> > <a href="about.php">新闻中心</a>> <a href="news.php?newsclass=<?php echo $_smarty_tpl->tpl_vars['classID']->value; ?> "><?php echo $_smarty_tpl->tpl_vars['className']->value; ?> </a></div></div> <div class="newsTitle"><?php echo $_smarty_tpl->tpl_vars['newsTitle']->value; ?> </div> <div class="newsAddTime"><?php echo $_smarty_tpl->tpl_vars['newsAddTime']->value; ?> </div> <div class="newsDetail"><?php echo $_smarty_tpl->tpl_vars['newDetail']->value; ?> </div> </div> </div> </div> </div> <?php echo $_smarty_tpl->getSubTemplate("Common/Bottom.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('name' => "bottom"), 0); ?> </body> </html> <?php }