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
    $indexurl = "index.php?style=" . $wapstyle . "&amp;bclassid=" . $r[classid];
    if ($r['islast']) {
        $showsonclass = "";
    } else {
        $showsonclass = " <small>(<a href=\"{$indexurl}\">下级栏目</a>)</small>";
    }
    ?>
<a href="<?php 
    echo $classurl;
    ?>
"><?php 
    echo DoWapClearHtml($r[classname]);
    ?>
</a><?php 
    echo $showsonclass;
    ?>
<br />
<?php 
}
?>
</p>
<p><a href="<?php 
echo $returnurl;
?>
">返回</a> <a href="index.php?style=<?php 
echo $wapstyle;
?>
">网站首页</a></p>
<?php 
DoWapFooter();