function DoWapShowMsg($error, $returnurl = 'index.php')
{
    DoWapHeader('提示信息');
    ?>
<p><?php 
    echo $error;
    ?>
<br /><a href="<?php 
    echo $returnurl;
    ?>
">返回</a></p>
<?php 
    DoWapFooter();
    exit;
}
Exemple #2
0
<?php

if (!defined('InEmpireCMS')) {
    exit;
}
$add = '';
$bclassid = (int) $_GET['bclassid'];
if ($pr['wapshowmid']) {
    $add = " and modid in (" . $pr['wapshowmid'] . ")";
}
DoWapHeader($pagetitle);
if ($bclassid) {
    $returnurl = "index.php?style={$wapstyle}&amp;bclassid=" . ($class_r[$bclassid]['bclassid'] ? $class_r[$bclassid]['bclassid'] : 0);
    ?>
<p><b>子栏目列表:</b><?php 
    echo $class_r[$bclassid]['classname'];
    ?>
</p>
<?php 
} else {
    $returnurl = "index.php?style={$wapstyle}";
    ?>
<p><b>网站栏目:</b><?php 
    echo $pagetitle;
    ?>
</p>
<?php 
}
?>
<p>
<?php 
Exemple #3
0
<?php

if (!defined('InEmpireCMS')) {
    exit;
}
DoWapHeader('提示信息');
?>
<p><?php 
echo $error;
?>
<br /><a href="<?php 
echo $returnurl;
?>
">返回</a></p>
<?php 
DoWapFooter();