コード例 #1
0
<?php

/* Smarty version 2.6.20, created on 2015-10-26 18:27:36
   compiled from user/block/login.html */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('insert', 'getSession', 'user/block/login.html', 2, false))), $this);
?>
		<div id="login">
			<?php 
require_once SMARTY_CORE_DIR . 'core.run_insert_handler.php';
echo smarty_core_run_insert_handler(array('args' => array('name' => 'getSession', 'strHtml' => $this->_config[0]['vars']['strHtml'])), $this);
?>

			<div class="fjclear"></div>
            <ul>
				<li class="lo1"><a href="<?php 
echo $this->_tpl_vars['arrGWeb']['WEB_ROOT_pre'];
?>
/car_ad/adminu/addinfo.php"><span>车体广告</span></a></li>
				<li class="lo2"><a href="<?php 
echo $this->_tpl_vars['arrGWeb']['WEB_ROOT_pre'];
?>
/read_ad/adminu/addinfo.php"><span>阅读亭</span></a></li>
				<li class="lo3"><a href="<?php 
echo $this->_tpl_vars['arrGWeb']['WEB_ROOT_pre'];
?>
/shelter_ad/adminu/addinfo.php"><span>候车亭</span></a></li>
				<li class="lo4"><a href="<?php 
echo $this->_tpl_vars['arrGWeb']['WEB_ROOT_pre'];
?>
/outdoor_ad/adminu/addinfo.php"><span>户外广告</span></a></li>
コード例 #2
0
        ?>
/notice/<?php 
        echo $this->_tpl_vars['notices'][$this->_sections['i']['index']]['NID'];
        ?>
/<?php 
        echo is_array($_tmp = $this->_tpl_vars['notices'][$this->_sections['i']['index']]['title']) ? $this->_run_mod_handler('clean', true, $_tmp) : smarty_modifier_clean($_tmp);
        ?>
"><?php 
        echo is_array($_tmp = $this->_tpl_vars['notices'][$this->_sections['i']['index']]['title']) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html');
        ?>
</a></h2></div>
            <div class="notice_info">
                <div class="notice_info_left">
                    <?php 
        require_once SMARTY_CORE_DIR . 'core.run_insert_handler.php';
        echo smarty_core_run_insert_handler(array('args' => array('name' => 'time_range', 'assign' => 'addtime', 'time' => $this->_tpl_vars['notices'][$this->_sections['i']['index']]['addtime'])), $this);
        ?>

                    <?php 
        echo $this->_tpl_vars['addtime'];
        ?>

                </div>
                <div class="notice_info_right">
                    <?php 
        echo smarty_function_t(array('c' => 'global.by'), $this);
        ?>
: <a href="<?php 
        echo $this->_tpl_vars['relative'];
        ?>
/user/<?php 
" /></span>
        </div>
        <div class="span3">
            <span id="delete<?php 
            echo $this->_tpl_vars['i']->id;
            ?>
"><form method="post" action="<?php 
            echo $this->_tpl_vars['site_root_path'];
            ?>
account/?p=google%2B"><input type="hidden" name="instance_id" value="<?php 
            echo $this->_tpl_vars['i']->id;
            ?>
">
            <?php 
            require_once SMARTY_CORE_DIR . 'core.run_insert_handler.php';
            echo smarty_core_run_insert_handler(array('args' => array('name' => 'csrf_token')), $this);
            ?>
<!-- delete account csrf token -->
            <input onClick="return confirm('Do you really want to delete this Google+ account from ThinkUp?');"  type="submit" name="action" class="btn btn-danger" value="delete" /></form></span>
        </div>
    </div>
    <?php 
        }
    }
    unset($_from);
    ?>
    <br />
    <?php 
}
?>
コード例 #4
0
        </div>
    </div>
    <div class="right span-200">
	<?php 
require_once SMARTY_CORE_DIR . 'core.run_insert_handler.php';
echo smarty_core_run_insert_handler(array('args' => array('name' => 'load_plugin', 'page' => 'photo', 'plugin' => 'ptag_cloud')), $this);
?>

        <div class="box">      
            <div class="btitle"><h2><?php 
echo smarty_function_t(array('c' => 'global.sponsors'), $this);
?>
</h2></div>
            <?php 
require_once SMARTY_CORE_DIR . 'core.run_insert_handler.php';
echo smarty_core_run_insert_handler(array('args' => array('name' => 'adv', 'assign' => 'adv', 'group' => 'albums_right')), $this);
?>

            <?php 
if ($this->_tpl_vars['adv']) {
    ?>
<br /><div class="ads"><?php 
    echo $this->_tpl_vars['adv'];
    ?>
</div><br /><?php 
}
?>
        </div>
    </div>
    <div class="clear"></div>
</div>
コード例 #5
0
        ?>
 - <?php 
        echo is_array($_tmp = $this->_tpl_vars['pi']->network) ? $this->_run_mod_handler('capitalize', true, $_tmp) : smarty_modifier_capitalize($_tmp);
        ?>
</option>
        <?php 
    }
}
unset($_from);
?>
      </select>
      </label>
      
      <span class="help-block">Set the service user to display by default. <?php 
require_once SMARTY_CORE_DIR . 'core.run_insert_handler.php';
echo smarty_core_run_insert_handler(array('args' => array('name' => 'help_link', 'id' => 'default_service_user')), $this);
?>
</span>

      <div id="recaptcha_enable_deps" style="display: none; width: 470px; margin: 0 0 20px 0;">
        <label for="recaptcha_public_key">reCAPTCHA Public Key</label>
        <input type="text" name="recaptcha_public_key" id="recaptcha_public_key" value="">
        <label for="recaptcha_private_key">reCAPTCHA Private Key</label>
        <input type="text" name="recaptcha_private_key" id="recaptcha_private_key" value="">
      </div>

<legend>Don't Share Data</legend>

      <label class="checkbox">
        <input type="checkbox" name="is_api_disabled" id="is_api_disabled" value="true"> Disable the JSON API
      </label>
コード例 #6
0
            ?>
</td>
                <td align="center">
                    <?php 
            echo is_array($_tmp = $this->_tpl_vars['users'][$this->_sections['i']['index']]['addtime']) ? $this->_run_mod_handler('date_format', true, $_tmp) : smarty_modifier_date_format($_tmp);
            ?>
<br>
                    <?php 
            echo is_array($_tmp = $this->_tpl_vars['users'][$this->_sections['i']['index']]['logintime']) ? $this->_run_mod_handler('date_format', true, $_tmp) : smarty_modifier_date_format($_tmp);
            ?>

                </td>
                <td align="center">
                <?php 
            require_once SMARTY_CORE_DIR . 'core.run_insert_handler.php';
            echo smarty_core_run_insert_handler(array('args' => array('name' => 'video_count', 'assign' => 'vdo', 'UID' => $this->_tpl_vars['users'][$this->_sections['i']['index']]['UID'])), $this);
            ?>

                Owns: <a href="videos.php?m=all&UID=<?php 
            echo $this->_tpl_vars['users'][$this->_sections['i']['index']]['UID'];
            ?>
"><?php 
            echo $this->_tpl_vars['vdo'];
            ?>
</a><br>
                Viewed: <?php 
            echo $this->_tpl_vars['users'][$this->_sections['i']['index']]['watched_video'];
            ?>
<br>
                Views: <?php 
            echo $this->_tpl_vars['users'][$this->_sections['i']['index']]['video_viewed'];
コード例 #7
0
if ($this->_tpl_vars['is_registration_open']) {
    ?>
<a href="<?php 
    echo $this->_tpl_vars['site_root_path'];
    ?>
session/register.php" class="btn btn-mini hidden-phone">Register</a><?php 
} else {
}
?>
                                    <a href="<?php 
echo $this->_tpl_vars['site_root_path'];
?>
session/forgot.php" class="btn btn-mini">Forgot password</a>
                                    <?php 
require_once SMARTY_CORE_DIR . 'core.run_insert_handler.php';
echo smarty_core_run_insert_handler(array('args' => array('name' => 'help_link', 'id' => 'login')), $this);
?>

                                </div>
                            </span>
                    </div>

                </fieldset>

            </form>

    </div><!-- end span9 -->

</div><!-- end row -->

<?php 
コード例 #8
0
echo $this->_tpl_vars['baseurl'];
?>
" title="<?php 
echo $this->_tpl_vars['site_name'];
?>
"><img src="<?php 
echo $this->_tpl_vars['relative_tpl'];
?>
/images/logo.png" alt="<?php 
echo $this->_tpl_vars['site_name'];
?>
 Logo" /></a>
        </div>
		<?php 
require_once SMARTY_CORE_DIR . 'core.run_insert_handler.php';
echo smarty_core_run_insert_handler(array('args' => array('name' => 'language', 'assign' => 'flag')), $this);
?>

        <div id="right">
            <?php 
if (isset($_SESSION['uid'])) {
    ?>
			<?php 
    if ($this->_tpl_vars['multi_language']) {
        ?>
				<a href="#" id="select_language" class="languageselector" title="Select Language"><div><img src="<?php 
        echo $this->_tpl_vars['relative_tpl'];
        ?>
/images/flags/<?php 
        echo $this->_tpl_vars['flag'];
        ?>
コード例 #9
0
</a> &middot; 
        <a href="<?php 
echo $this->_tpl_vars['relative'];
?>
/static/terms" rel="nofollow"><?php 
echo smarty_function_translate(array('c' => 'footer.terms'), $this);
?>
</a> &middot; 
        <a href="<?php 
echo $this->_tpl_vars['relative'];
?>
/static/privacy" rel="nofollow"><?php 
echo smarty_function_translate(array('c' => 'footer.privacy'), $this);
?>
</a> &middot; 
        <a href="<?php 
echo $this->_tpl_vars['relative'];
?>
/static/advertise" rel="nofollow"><?php 
echo smarty_function_translate(array('c' => 'footer.advertise'), $this);
?>
</a> &middot;<br />
	<span class="smallest grey"><?php 
require_once SMARTY_CORE_DIR . 'core.run_insert_handler.php';
echo smarty_core_run_insert_handler(array('args' => array('name' => 'timer', 'magic' => 'main')), $this);
?>
</span>
    </div>    
</div>
</body>
</html>
コード例 #10
0
<?php

/* Smarty version 2.6.27, created on 2013-09-28 22:37:07
   compiled from example11.tpl */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('insert', 'getVisitTime', 'example11.tpl', 5, false), array('insert', 'mytime', 'example11.tpl', 8, false), array('function', 'html_checkboxes', 'example11.tpl', 12, false))), $this);
?>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8"/>
</head>
<h3>文件访问的次数</h3>
<?php 
require_once SMARTY_CORE_DIR . 'core.run_insert_handler.php';
echo smarty_core_run_insert_handler(array('args' => array('name' => 'getVisitTime')), $this);
?>

<h1>缓存的介绍</h1>

<?php 
require_once SMARTY_CORE_DIR . 'core.run_insert_handler.php';
echo smarty_core_run_insert_handler(array('args' => array('name' => 'mytime')), $this);
?>


<h3>缓存的使用</h3>

<?php 
echo smarty_function_html_checkboxes(array('options' => $this->_tpl_vars['hobby'], 'selected' => $this->_tpl_vars['sel'], 'name' => 'hobby'), $this);
コード例 #11
0
            $this->_sections['i']['show'] = false;
        }
    } else {
        $this->_sections['i']['total'] = 0;
    }
    if ($this->_sections['i']['show']) {
        for ($this->_sections['i']['index'] = $this->_sections['i']['start'], $this->_sections['i']['iteration'] = 1; $this->_sections['i']['iteration'] <= $this->_sections['i']['total']; $this->_sections['i']['index'] += $this->_sections['i']['step'], $this->_sections['i']['iteration']++) {
            $this->_sections['i']['rownum'] = $this->_sections['i']['iteration'];
            $this->_sections['i']['index_prev'] = $this->_sections['i']['index'] - $this->_sections['i']['step'];
            $this->_sections['i']['index_next'] = $this->_sections['i']['index'] + $this->_sections['i']['step'];
            $this->_sections['i']['first'] = $this->_sections['i']['iteration'] == 1;
            $this->_sections['i']['last'] = $this->_sections['i']['iteration'] == $this->_sections['i']['total'];
            ?>
            <?php 
            require_once SMARTY_CORE_DIR . 'core.run_insert_handler.php';
            echo smarty_core_run_insert_handler(array('args' => array('name' => 'channel_count', 'assign' => 'count', 'CHID' => $this->_tpl_vars['channels'][$this->_sections['i']['index']]['CHID'])), $this);
            ?>

            <tr bgcolor="<?php 
            echo smarty_function_cycle(array('values' => "#F8F8F8,#F2F2F2"), $this);
            ?>
">
                <td align="center"><?php 
            echo $this->_tpl_vars['channels'][$this->_sections['i']['index']]['CHID'];
            ?>
</td>
                <td align="center">
                    <a href="channels.php?m=view&CID=<?php 
            echo $this->_tpl_vars['channels'][$this->_sections['i']['index']]['CHID'];
            ?>
"><?php 
コード例 #12
0
    $_smarty_tpl_vars = $this->_tpl_vars;
    $this->_smarty_include(array('smarty_include_tpl_file' => "layout/content-header.html", 'smarty_include_vars' => array()));
    $this->_tpl_vars = $_smarty_tpl_vars;
    unset($_smarty_tpl_vars);
    ?>



<?php 
} else {
    ?>


<?php 
    require_once SMARTY_CORE_DIR . 'core.run_insert_handler.php';
    echo smarty_core_run_insert_handler(array('args' => array('name' => 'OA_Admin_UI_CustomFooter')), $this);
    ?>


  <?php 
    $_smarty_tpl_vars = $this->_tpl_vars;
    $this->_smarty_include(array('smarty_include_tpl_file' => "layout/content-footer.html", 'smarty_include_vars' => array()));
    $this->_tpl_vars = $_smarty_tpl_vars;
    unset($_smarty_tpl_vars);
    ?>
    </div>
</div>

<?php 
    if ($this->_tpl_vars['jsMPE']) {
        ?>
コード例 #13
0
<?php

/* Smarty version 2.6.26, created on 2013-04-03 10:16:39
   compiled from D:/Dropbox/ProjectX/htdocs/thinkup/plugins/insightsgenerator/view/account.index.tpl */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('insert', 'help_link', 'D:/Dropbox/ProjectX/htdocs/thinkup/plugins/insightsgenerator/view/account.index.tpl', 3, false))), $this);
?>
<div class="plugin-info">

    <span class="pull-right"><?php 
require_once SMARTY_CORE_DIR . 'core.run_insert_handler.php';
echo smarty_core_run_insert_handler(array('args' => array('name' => 'help_link', 'id' => 'insightsgenerator')), $this);
?>
</span>
    <h1>
        <img src="<?php 
echo $this->_tpl_vars['site_root_path'];
?>
plugins/insightsgenerator/assets/img/plugin_icon.png" class="plugin-image">
        Insights Generator Plugin
    </h1>

    <p><?php 
echo $this->_tpl_vars['message'];
?>
</p>

</div>

    <div>
    <p>The following is a list of currently installed and running insight plugins:</p>