当前位置:网站首页 > 教程 > 帝国cms教程 > 帝国cms模板内容页用到的if判断语句

帝国cms模板内容页用到的if判断语句

蓝色枫叶 蓝色枫叶 2020-05-25 前往当前专题: 帝国cms教程
<?php

if($navinfor[xb]==帅哥)

{
?><DIV class="xbox nan">
<?
}
else
{
echo "<DIV class=xbox>";
}

?>


<?php
if($navinfor['titlepic'])
{
?>
<a href='[!--titlepic--]' target='_blank'><img src='[!--titlepic--]' /></a>
<?
}
else
{
?>

<?
}
?>

蓝色枫叶

蓝色枫叶

TA很懒,啥都没写...

Copyright 蓝色枫叶 www.lansefengye Rights Reserved.