當前位置: 首頁>>代碼示例>>PHP>>正文


PHP smarty_function_write_url函數代碼示例

本文整理匯總了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


注:本文中的smarty_function_write_url函數示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。