• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP Smarty_Internal_Config类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了PHP中Smarty_Internal_Config的典型用法代码示例。如果您正苦于以下问题:PHP Smarty_Internal_Config类的具体用法?PHP Smarty_Internal_Config怎么用?PHP Smarty_Internal_Config使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



在下文中一共展示了Smarty_Internal_Config类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。

示例1: content_514451f1dd0be0_99450555

    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>&nbsp;>&nbsp;联系我们</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 
    }
开发者ID:boxiansoft,项目名称:chuhan,代码行数:60,代码来源:726646534ceba12ed6edd28f5d9a735f9b74b3e8.file.contact.tpl.php


示例2: content_50f016267a6924_50871058

    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 
    }
开发者ID:boxiansoft,项目名称:chuhan,代码行数:29,代码来源:68cdca535101c553af78e1be664eb770c996bd71.file.index.tpl.php


示例3: content_51014a7a65b4b6_87213168

    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 
    }
开发者ID:skydel,项目名称:universal-online-exam,代码行数:30,代码来源:b59a0469aaa37fc6e79198cc54a49b4f47adb8a6.file.head.tpl.cache.php


示例4: content_50c03244688ee2_36834851

    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 />
密码&nbsp&nbsp
<input type="password" name="password" maxlength="10" />
<br />
<br />

<button type="submit" class="button" >提交&nbsp&nbsp</button>
<button type="button" class="button" ><a href="index.php">返回&nbsp&nbsp</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);
    }
开发者ID:yunsite,项目名称:1012-game-engine,代码行数:57,代码来源:edd9efde59f539ea007f21c25df767a214d97c28.file.login.tpl.php


示例5: content_50f115cb6373b5_14465069

    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">&nbsp;</td>
		<td class="td"><input type="submit" name="button" id="button" value="提交数据"  class="btn"/></td>
	  </tr>
	</table></td>
  </tr></form>
</table>
</body>
</html>
<?php 
    }
开发者ID:boxiansoft,项目名称:chuhan,代码行数:52,代码来源:ca9733124e30e7cb2b19e603991619a04d0f72df.file.AddAdmin.tpl.php


示例6: content_56248ad307a125_96282819

    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>
          &nbsp;公司名称:<?php 
        echo $_smarty_tpl->getConfigVariable('companyName');
        ?>

          <br><br>
          &nbsp;联系电话:<?php 
        echo $_smarty_tpl->getConfigVariable('tel');
        ?>

        </td>
      </tr>
    </table>
  </body>
</html>












<?php 
    }
开发者ID:denson7,项目名称:phpstudy,代码行数:49,代码来源:cd93148d3522f539cffbeba75f76ef0b04376cb1.file.configs.html.php


示例7: content_52354819662ea6_55748610

    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 
    }
开发者ID:yuxujian,项目名称:YuNote,代码行数:15,代码来源:720bdaad352afc4499890976e0b637639c416eb7.file.example3.tpl.php


示例8: content_522ded0739f632_86830241

    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="立即导出"/>&nbsp;&nbsp;&nbsp;&nbsp;<input name="" type="reset" value="重新填写"/></td></tr>
    </table></form></td>
  </tr>
</table>
</body>
</html>
<?php 
    }
开发者ID:boxiansoft,项目名称:calling,代码行数:46,代码来源:2a1c690e6af5839d685b4e3fff447642f8665de6.file.stuexport.tpl.php


示例9: content_514268a2b8f329_17806916

    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 
    }
开发者ID:boxiansoft,项目名称:chuhan,代码行数:45,代码来源:d36f63777f5152ab9d86bfa39cf6b06e8d20d73d.file.service.tpl.php


示例10: content_50fe9bf1ce2261_35673625

    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 />
密码&nbsp&nbsp
<input type="password" name="password" maxlength="15" />
<br />
<br />
邮箱&nbsp&nbsp
<input type="text" name="email" maxlength="30" />
<br />
<br />
二级密码&nbsp&nbsp
<input type="password" name="safe" maxlength="15" />
<br />
<br />


<button type="submit" class="button"  >提交&nbsp&nbsp</button>

</form>

<?php 
        echo $_smarty_tpl->getSubTemplate("footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
    }
开发者ID:yunsite,项目名称:1012-game-engine,代码行数:40,代码来源:f0238df42a6ac0c349b69d0acd9e1e759861a197.file.Register.tpl.php


示例11: content_5589b897dfc3a0_12669424

    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 
    }
开发者ID:huicochea,项目名称:play_huico,代码行数:23,代码来源:4d0dcf427c150e44cead9626dc0a0d562ce42f6d.file.displayDefault.tpl.php


示例12: content_513f1a00358262_97987507

    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 
    }
开发者ID:boxiansoft,项目名称:chuhan,代码行数:36,代码来源:06dbce36a2f743f67127424aa2036b021e3102fd.file.top.tpl.php


示例13: content_513f1b104cd4f2_48398648

    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;
        ?>
"/>&nbsp;&nbsp;&nbsp;&nbsp;
			<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 
    }
开发者ID:boxiansoft,项目名称:chuhan,代码行数:92,代码来源:9c8b5bc41a826f98b3fecc805811525ce710574c.file.FirstClass.tpl.php


示例14: content_50fdf050056ef3_68337486

    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>&nbsp&nbsp1012</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 
//.........这里部分代码省略.........
开发者ID:yunsite,项目名称:1012-game-engine,代码行数:101,代码来源:5180b57018fe7b1a251116656a987810a5971729.file.index.tpl.php


示例15: content_50f015c58f4048_51335489

    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 
//.........这里部分代码省略.........
开发者ID:boxiansoft,项目名称:chuhan,代码行数:101,代码来源:8ae0c92aa0a6382644fba5db246f7b869b21d012.file.Product.tpl.php


示例16: content_50aaa21d7ba553_76691433

    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 

鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP Smarty_Internal_Debug类代码示例发布时间:2022-05-23
下一篇:
PHP Smarty_Internal_Compile_Block类代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap