pp_error.php

来自「asterisk用 的voip记费软件」· PHP 代码 · 共 66 行

PHP
66
字号
<?phpinclude ("../lib/defines.php");getpost_ifset(array('err_type','c'));if($err_type == 0){	$err_type = 0;}//Error Type == 0 Mean Critical Error dont need to show left menu.//Error Type == 1 Mean User generated error.and it will show menu to him too.if($err_type == 0){	$popup_select=1;}else{	include ("../lib/module.access.php");}include ("../lib/smarty.php");$smarty->display('main.tpl');if (!isset($c))	$c="0";$error["0"] = gettext("ERROR : ACCESS REFUSED");$error["syst"] = gettext("Sorry a problem occur on our system, please try later!");$error["errorpage"] = gettext("There is an error on this page!");$error["accessdenied"] = gettext("Sorry, you don t have access to this page !");$error["construction"] = gettext("Sorry, this page is in construction !");$error["ERR-0001"] = gettext("Invalid User Id !");$error["ERR-0002"] = gettext("No such card number found. Please check your card number!");?><br></br><br></br><table width="460" border="2" align="center" cellpadding="1" cellspacing="2" bordercolor="#eeeeff" bgcolor="#FFFFFF">	<tr  class="pp_error_maintable_tr1"> 				<td> 								<div align="center"><b><font size="3"><?php echo gettext("Error Page");?></font></b></div>		</td>	</tr>				 	<tr> 	<td align="center" colspan=2> 		<table width="100%" border="0" cellpadding="5" cellspacing="5">		  		<tr> 			<td align="center"><br/>				<img src="<?php echo KICON_PATH; ?>/system-config-rootpassword.gif"> 				<br/>				<b><font size="3"><?php echo $error[$c]?></font></b>				<br/><br/>			</td>		</tr>		</table>				</td>	</tr></table><br/><br/><?php	$smarty->display('footer.tpl');?>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?