示例#1
0
',
        cookieDomain: '<?php 
echo Ibos::app()->setting->get('config/cookie/cookiedomain');
?>
',
        creditRemind: '<?php 
echo Ibos::app()->setting->get('setting/creditnames');
?>
',
        formHash: '<?php 
echo FORMHASH;
?>
',
        settings: {notifyInterval: 320},
        contact: '<?php 
echo User::getJsConstantUids(Ibos::app()->user->uid);
?>
',
        loginTimeout: '<?php 
echo $gAccount['timeout'];
?>
',
        upload: {
            attachexts: {
                depict: "<?php 
echo $gUploadConfig['attachexts']['depict'];
?>
",
                ext: "<?php 
echo $gUploadConfig['attachexts']['ext'];
?>
示例#2
0
            ?>
									<ul class="subnv" id="sub_nav_<?php 
            echo $index;
            ?>
" data-pid="<?php 
            echo $index;
            ?>
">
										<?php 
            foreach ($nav['child'] as $subNav) {
                ?>
											<?php 
                if ($subNav['disabled']) {
                    continue;
                }
                $hasPurv = User::checkNavPurv($subNav);
                $subNav['url'] = Url::getUrl($subNav['url']);
                ?>
				<?php 
                if ($hasPurv) {
                    ?>
												<li>
													<a target="<?php 
                    echo $subNav['targetnew'] ? '_blank' : '_self';
                    ?>
" href="<?php 
                    echo $subNav['url'];
                    ?>
" data-id="<?php 
                    echo $subNav['id'];
                    ?>