本文整理汇总了PHP中smarty_function_write_url函数的典型用法代码示例。如果您正苦于以下问题:PHP smarty_function_write_url函数的具体用法?PHP smarty_function_write_url怎么用?PHP smarty_function_write_url使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了smarty_function_write_url函数的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: smarty_function_write_url
include 'D:\\www\\shehuahk\\smarty\\plugins\\function.write_url.php';
}
?>
<!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 @Site_Name;
?>
</title>
<link href="css/login.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form method="post" action="<?php
echo smarty_function_write_url(array('url' => $_smarty_tpl->getVariable('thisurl')->value, 'action' => 'login'), $_smarty_tpl->smarty, $_smarty_tpl);
?>
">
<table border="0" cellspacing="1" cellpadding="0" align=center>
<tr><th colspan="2"><?php
echo @Site_Name;
?>
</th></tr>
<tr>
<td align="right" width="30%">账 号</td>
<td><input type="text" name="Username" /></td>
</tr>
<tr>
<td align="right">密 码</td>
<td><input type="password" name="Password" /></td>
</tr>
开发者ID:Capitalwang,项目名称:shehuahk,代码行数:31,代码来源:9f006433422055079d81e6fad6f6ff820bc4d4ab.file.login.html.php
示例2: smarty_function_write_url
echo smarty_function_write_url(array('open' => 'product_sms'), $_smarty_tpl->smarty, $_smarty_tpl);
?>
"><span class="act_1_13"></span>代理群发产品短信 (<b><?php
echo count($_smarty_tpl->getVariable('back')->value['P_SMS']['pro']);
?>
, <?php
echo count($_smarty_tpl->getVariable('back')->value['P_SMS']['proxy']);
?>
</b>)</a></span><?php
}
?>
<?php
if ($_smarty_tpl->getVariable('BTP')->value['proxy_sms']['show'] && count($_smarty_tpl->getVariable('back')->value['Pxy_SMS'])) {
?>
<span class="car"><a href="<?php
echo smarty_function_write_url(array('open' => 'proxy_sms'), $_smarty_tpl->smarty, $_smarty_tpl);
?>
"><span class="act_1_12"></span>代理群发手机短信 (<b><?php
echo count($_smarty_tpl->getVariable('back')->value['Pxy_SMS']);
?>
</b>)</a></span><?php
}
?>
<span class="clear"></span>
<?php
} else {
?>
<div style="height:2em"></div>
<?php
}
?>
开发者ID:Capitalwang,项目名称:shehuahk,代码行数:31,代码来源:3e886e35a7ea17fbb1625edef94334433c9b68d6.file.header.html.php
示例3: smarty_function_write_url
<?php
} else {
?>
<td colspan="6" align="center" style="background-color:#FFC">自定义 的 手机号码</td>
<th><?php
echo $_smarty_tpl->getVariable('pso')->value;
?>
</th>
<?php
}
?>
<td align="center" class="action"><?php
if ($_smarty_tpl->getVariable('BTP')->value['customSMS']['del']) {
?>
<a href="<?php
echo smarty_function_write_url(array('url' => $_smarty_tpl->getVariable('thisurl')->value, 'action' => 'del', 'phone' => $_smarty_tpl->getVariable('pso')->value), $_smarty_tpl->smarty, $_smarty_tpl);
?>
" class="act_1_5" title="删除"></a><?php
}
?>
</td>
</tr>
<?php
}
}
?>
<?php
if (count($_smarty_tpl->getVariable('back')->value['customSMS'])) {
?>
<tr><td colspan="8" align="center" style="color:#F00; height:25px">注意:如果添加的代理没有手机号码,或者号码不正确将不会被发送短信</td></tr>
开发者ID:Capitalwang,项目名称:shehuahk,代码行数:31,代码来源:69c5fdcc614ea87d02afd69c168fd98ea4ccf301.file.customSMS.html.php
示例4: smarty_function_write_url
?>
<li><a href="<?php
echo smarty_function_write_url(array('url' => $_smarty_tpl->getVariable('thisurl')->value, 'action' => 'show', 'DEL' => 'ALL'), $_smarty_tpl->smarty, $_smarty_tpl);
?>
" <?php
echo smarty_function_CLASS_COLOR(array('show' => $_smarty_tpl->getVariable('get')->value['action'], 'CLASS' => 'this'), $_smarty_tpl->smarty, $_smarty_tpl);
?>
>客服列表</a></li><?php
}
?>
</ul>
<span class="clear"></span>
</div>
<div class="append">
<form action="<?php
echo smarty_function_write_url(array('url' => $_smarty_tpl->getVariable('thisurl')->value, 'go' => 'append'), $_smarty_tpl->smarty, $_smarty_tpl);
?>
" method="post">
<table width="100%" border="0" cellspacing="1" cellpadding="0" id="tab_show">
<tr><th colspan="2"><?php
if ($_smarty_tpl->getVariable('get')->value['action'] != 'edit') {
?>
添加客服<?php
} else {
?>
编辑客服<?php
}
?>
</th></tr>
<tr>
<td align="right" width="40%" class="Need">账号</td>
开发者ID:Capitalwang,项目名称:shehuahk,代码行数:31,代码来源:68332a3c4c792c3e145e46280be795adb9ec9dfb.file.service_append.html.php
示例5: smarty_function_write_url
?>
" <?php
if ($_smarty_tpl->getVariable('Npc')->value == $_smarty_tpl->getVariable('get')->value['page']) {
?>
class="this"<?php
}
?>
><?php
echo $_smarty_tpl->getVariable('Npc')->value;
?>
</a></li><?php
}
}
?>
<li><a href="<?php
echo smarty_function_write_url(array('url' => $_smarty_tpl->getVariable('thisurl')->value, 'page' => $_smarty_tpl->getVariable('list_page')->value['down']), $_smarty_tpl->smarty, $_smarty_tpl);
?>
">下一页</a></li>
</ul>
<?php
}
?>
<i class="clear"></i>
</div>
</form>
<?php
}
?>
</div>
<?php
$_template = new Smarty_Internal_Template("foot.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
开发者ID:Capitalwang,项目名称:shehuahk,代码行数:31,代码来源:1279ea5cfd91fca7000c203c669d7715fd1d8c32.file.search_letter.html.php
示例6: smarty_function_write_url
">尾页</a><?php
} else {
?>
尾页<?php
}
?>
至 <input type="text" value="<?php
echo $_smarty_tpl->getVariable('list_page')->value['NowPage'];
?>
" onkeydown="go_page(event , this , '<?php
echo $_smarty_tpl->getVariable('thisurl')->value;
?>
')" /> 页
排序:
<select onchange="page_Local(this,0 , '<?php
echo smarty_function_write_url(array('url' => $_smarty_tpl->getVariable('thisurl')->value, 'DEL' => 'ORDER'), $_smarty_tpl->smarty, $_smarty_tpl);
?>
')">
<option value="ORDER=time_UP" <?php
echo smarty_function_selected(array('val' => $_smarty_tpl->getVariable('get')->value['ORDER'], 'str' => 'time_UP'), $_smarty_tpl->smarty, $_smarty_tpl);
?>
>按 时间 (↑) 排序</option>
<option value="ORDER=time_Dn" <?php
echo smarty_function_selected(array('val' => $_smarty_tpl->getVariable('get')->value['ORDER'], 'str' => 'time_Dn'), $_smarty_tpl->smarty, $_smarty_tpl);
?>
>按 时间 (↓) 排序</option>
<option value="ORDER=open_UP" <?php
echo smarty_function_selected(array('val' => $_smarty_tpl->getVariable('get')->value['ORDER'], 'str' => 'open_UP'), $_smarty_tpl->smarty, $_smarty_tpl);
?>
>按 Open (↑) 排序</option>
<option value="ORDER=open_Dn" <?php
开发者ID:Capitalwang,项目名称:shehuahk,代码行数:31,代码来源:a2b5d2b5103ae5b1013d6fe2f13959adea3c76e5.file.proxy_purview.html.php
示例7: smarty_function_write_url
<a href="<?php
echo smarty_function_write_url(array('open' => 'Quote', 'exchange' => 'JPY'), $_smarty_tpl->smarty, $_smarty_tpl);
?>
" <?php
echo smarty_function_CLASS_COLOR(array('JPY' => $_smarty_tpl->getVariable('get')->value['exchange'], 'CLASS' => 'this'), $_smarty_tpl->smarty, $_smarty_tpl);
?>
>日元</a>
<a href="<?php
echo smarty_function_write_url(array('open' => 'Quote', 'exchange' => 'EUR'), $_smarty_tpl->smarty, $_smarty_tpl);
?>
" <?php
echo smarty_function_CLASS_COLOR(array('EUR' => $_smarty_tpl->getVariable('get')->value['exchange'], 'CLASS' => 'this'), $_smarty_tpl->smarty, $_smarty_tpl);
?>
>欧元</a>
<a href="<?php
echo smarty_function_write_url(array('open' => 'Quote', 'exchange' => 'GBP'), $_smarty_tpl->smarty, $_smarty_tpl);
?>
" <?php
echo smarty_function_CLASS_COLOR(array('GBP' => $_smarty_tpl->getVariable('get')->value['exchange'], 'CLASS' => 'this'), $_smarty_tpl->smarty, $_smarty_tpl);
?>
>英镑</a>
</dd>
</dl>
<?php
echo $_smarty_tpl->getVariable('html')->value;
?>
</div>
<?php
$_template = new Smarty_Internal_Template("foot.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
echo $_template->getRenderedTemplate();
开发者ID:Capitalwang,项目名称:shehuahk,代码行数:31,代码来源:58807435f202bb86bf921c78a91cea4742f82048.file.Quote.html.php
示例8: smarty_function_write_url
echo smarty_function_write_url(array('url' => $_smarty_tpl->getVariable('thisurl')->value, 'action' => 'deploy', 'orders_id' => $_smarty_tpl->getVariable('orders')->value['orders_id']), $_smarty_tpl->smarty, $_smarty_tpl);
?>
'" />
<input type="button" value="扣除余款" onclick="window.location='<?php
echo smarty_function_write_url(array('url' => $_smarty_tpl->getVariable('thisurl')->value, 'action' => 'balance', 'orders_id' => $_smarty_tpl->getVariable('orders')->value['orders_id']), $_smarty_tpl->smarty, $_smarty_tpl);
?>
'" />
<input type="button" value="更改物流状态" onclick="window.location='<?php
echo smarty_function_write_url(array('url' => $_smarty_tpl->getVariable('thisurl')->value, 'action' => 'dispatch', 'orders_id' => $_smarty_tpl->getVariable('orders')->value['orders_id']), $_smarty_tpl->smarty, $_smarty_tpl);
?>
'" />
<?php
} elseif ($_smarty_tpl->getVariable('orders')->value['status'] == 'dispatch') {
?>
<input type="button" value="更改物流状态" onclick="window.location='<?php
echo smarty_function_write_url(array('url' => $_smarty_tpl->getVariable('thisurl')->value, 'action' => 'dispatch', 'orders_id' => $_smarty_tpl->getVariable('orders')->value['orders_id']), $_smarty_tpl->smarty, $_smarty_tpl);
?>
'" />
<input type="button" value="收到货物" onclick="receiving(this , '<?php
echo $_smarty_tpl->getVariable('orders')->value['orders_id'];
?>
' , 4)" />
<?php
} elseif ($_smarty_tpl->getVariable('orders')->value['status'] == 'receiving') {
?>
<b style="color:#093">已完成的订单</b>
<?php
} elseif ($_smarty_tpl->getVariable('orders')->value['status'] == 'returned') {
?>
<span style="color:#999">取消的订单</span>
<?php
开发者ID:Capitalwang,项目名称:shehuahk,代码行数:31,代码来源:80c2be05429aeb4a3b234fc4e2ebda00c692b545.file.orders_detail.html.php
示例9: smarty_function_write_url
);" /> 元</td>
</tr>
<tr>
<td colspan="2" align="center"><input type="button" value=" 确 认 取 消 " style="height:25px; border:1px solid #CCC;cursor:pointer;padding:0.4em;background-color:#F0F0F0" onClick="cancel_koukuang('<?php
echo $_smarty_tpl->getVariable('show')->value['orders_id'];
?>
' , 'tab_' , 'check_')" /></td>
</tr>
</table>
<?php
} else {
?>
<a href="javascript:;" onClick="cancel(this,'<?php
echo $_smarty_tpl->getVariable('get')->value['orders_id'];
?>
',10,'<?php
echo smarty_function_write_url(array('url' => $_smarty_tpl->getVariable('thisurl')->value, 'action' => 'cancel', 'go' => 'validation', 'orders_id' => $_smarty_tpl->getVariable('show')->value['orders_id']), $_smarty_tpl->smarty, $_smarty_tpl);
?>
')">确认取消订单</a>
<?php
}
?>
<?php
}
} else {
?>
订单不存在 ...
<?php
}
?>
</div>
开发者ID:Capitalwang,项目名称:shehuahk,代码行数:31,代码来源:e16549923e55a7576e5de1dc3b70a9b4c09e10f6.file.orders_cancel.html.php
示例10: smarty_function_write_url
<?php
}
}
?>
<tr class="x"><th colspan="35"></th></tr>
<tr>
<th class="zx"></th>
<td align="right">备注:</td>
<td colspan="32"><textarea name="remark" style="width:99%;height:120px; margin:10px 0"></textarea></td>
<th class="yx"></th>
</tr>
<?php
} else {
?>
<tr class="No_info"><th class="zx"></th><td colspan="33">当前购物车中没有产品 , <a href="<?php
echo smarty_function_write_url(array('open' => 'Query'), $_smarty_tpl->smarty, $_smarty_tpl);
?>
">点击添加</a></td><th class="yx"></th></tr>
<?php
}
?>
<tr class="x"><th colspan="35"></th></tr>
<tr>
<th class="zx"></th>
<th colspan="33" class="Js_cars"><input type="submit" value="" /></th>
<th class="yx"></th>
</tr>
<tr class="x"><th colspan="35"></th></tr>
</table>
</form>
</div>
开发者ID:Capitalwang,项目名称:shehuahk,代码行数:31,代码来源:bcbc31d148e9efc54c307eaae181f51c0a5866f1.file.cart.html.php
示例11: Smarty_Internal_Template
<img src="images/logo.jpg" alt="奢华国际钻石集团"/>
<?php
$_template = new Smarty_Internal_Template("nav.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
echo $_template->getRenderedTemplate();
$_template->updateParentVariables(0);
unset($_template);
?>
</div>
</div>
<div class="login">
<div>
<form action="<?php
echo smarty_function_write_url(array('open' => 'login', 'action' => 'login'), $_smarty_tpl->smarty, $_smarty_tpl);
?>
" method="post">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><th rowspan="4" valign="top"><img src="images/ln_ren.jpg" /></th><th align="left">LD会员登陆</th></tr>
<tr><td>用户账号:<input type="text" name="Username" /></td></tr>
<tr><td>登录密码:<input type="password" name="Password" /></td></tr>
<tr><th><input type="submit" value="登 陆" /><input type="button" value="忘记密码" /></th></tr>
</table>
</form>
<img src="images/ln_p.jpg" />
<i class="clear"></i>
</div>
</div>
<div class="Pe Login_foot">
开发者ID:Capitalwang,项目名称:shehuahk,代码行数:31,代码来源:c2eea421bf10aaa3f1b4ea46b252df7de3213165.file.login.html.php
示例12: Smarty_Variable
?>
" >More...</a>
</div>
<div class="Ct">
<ul>
<?php
$_smarty_tpl->tpl_vars['pso'] = new Smarty_Variable();
$_from = $_smarty_tpl->getVariable('NEWS')->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
if (count($_from) > 0) {
foreach ($_from as $_smarty_tpl->tpl_vars['pso']->key => $_smarty_tpl->tpl_vars['pso']->value) {
?>
<li style="list-style-type:none;"><a href="<?php
echo smarty_function_write_url(array('open' => 'news', 'action' => 'view', 'id' => $_smarty_tpl->getVariable('pso')->value['id']), $_smarty_tpl->smarty, $_smarty_tpl);
?>
"><?php
echo $_smarty_tpl->getVariable('pso')->value['title'];
?>
</a><span><?php
echo $_smarty_tpl->getVariable('pso')->value['bewrite'];
?>
</span></li>
<?php
}
}
?>
</ul>
</div>
</div>
开发者ID:Capitalwang,项目名称:shehuahk,代码行数:31,代码来源:e7d403f71be50bb7b98b992c21b8421d1b840205.file.home.html.php
示例13: smarty_function_write_url
?>
</td>
<td><a href="<?php
echo $_smarty_tpl->getVariable('ap')->value['number'];
?>
">进入代理页</a></td>
</tr>
<?php
}
}
?>
<?php
} else {
?>
<tr class="No_info"><th class="zx"></th><td colspan="31">当前没有你搜索的代理 , <a href="<?php
echo smarty_function_write_url(array('open' => 'search'), $_smarty_tpl->smarty, $_smarty_tpl);
?>
">点击重新查询</a></td><th class="yx"></th></tr>
<?php
}
?>
</table>
</div>
</div>
</div>
</div>
<?php
$_template = new Smarty_Internal_Template("footer.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
echo $_template->getRenderedTemplate();
$_template->updateParentVariables(0);
开发者ID:Capitalwang,项目名称:shehuahk,代码行数:31,代码来源:48d24f04741568514f4c985b2cb87447af4b45c4.file.search.html.php