Esempio n. 1
0
                                margin: 0 57px 42px 0;
                                font-size: 0;
                                overflow: hidden;
                                border-radius: 5px;
                            }
                            .cate-item .art-item a{
                                display: block;
                                background: #8c8c8c;
                            }
                            .cate-item .art-item a:hover{
                                background: #97187b;
                            }
                        </style>
                        <div style="min-height:500px;font-size:14px; line-height:22px;">
                            <?php 
$arr = phpok_catelist($cid);
$clist = $arr['rslist'];
?>
                            <?php 
$_i = 0;
$clist = is_array($clist) ? $clist : array();
foreach ($clist as $value) {
    $_i++;
    ?>
                                <?php 
    $arr1 = phpok_c_list($value['identifier']);
    $plist = $arr1['rslist'];
    ?>
                                <div class="cate-item">
                                    <h3 style="text-transform:uppercase;"><?php 
    echo $value['cate_name'];
Esempio n. 2
0
<?php

if (!defined('PHPOK_SET')) {
    die('<h3>Error...</h3>');
}
if ($cid) {
    $_catelist = phpok_catelist($cid);
    if ($_catelist[rslist]) {
        ?>

		<?php 
        $_i = 0;
        $_catelist[rslist] = is_array($_catelist[rslist]) ? $_catelist[rslist] : array();
        foreach ($_catelist[rslist] as $key => $value) {
            $_i++;
            ?>
<li><a href="<?php 
            echo list_url($value);
            ?>
" id="<?php 
            echo $value[id] == $cid ? 'hov' : 'parent';
            ?>
" title="<?php 
            echo $value[cate_name];
            ?>
"><?php 
            echo $value[cate_name];
            ?>
</a></li>
		
		<?php 
Esempio n. 3
0
<?php

if (!defined('PHPOK_SET')) {
    die('<h3>Error...</h3>');
}
?>
<?php 
$APP->tpl->p("head", "", "0");
?>
    <div class="MainBox">
        <div class="MainTit">
            <?php 
if ($rs['parentid'] == 0) {
    echo $rs[cate_name];
} else {
    $name = phpok_catelist($rs['parentid']);
    echo $name['me']['cate_name'];
}
?>
        </div>
        <div class="MainMid">
            <div class="LeftZ">
                <img src="<?php 
echo $_sys['siteurl'];
?>
tpl/www//images/leftz.png" width="91" height="82" >
            </div>
            <div class="RighZ">
                <img src="<?php 
echo $_sys['siteurl'];
?>