protected function _initialize() { parent::_initialize(); //TODO:只获取全局通用的配置 $this->getConfig(); $seo = array('title' => C('WEBSITE_TITLE'), 'keywords' => C('WEBSITE_KEYWORDS'), 'description' => C('WEBSITE_DESCRIPTION')); $cfg = array('owner' => C('WEBSITE_OWNER'), 'statisticalcode' => C('WEBSITE_STATISTICAL_CODE'), 'theme' => getSkin(C('DEFAULT_SKIN'))); //若是晚上 则固定为darkly样式 if (isNight()) { $cfg['theme'] = "darkly"; } // $this->assignVars($seo, $cfg); }
echo "<tr"; echo $intNumber % 2 == 0 ? ' class="bg"' : ''; echo ">\n"; echo "<td colspan=\"9\" align=\"center\"><input type=\"submit\" name=\"redo\" value=\"" . $PHPML_LANG["deleteselected"] . "\"></td>"; echo "</tr>"; echo "</form></table>"; echo "</div>"; } } echo '</div>'; $pgArr['button'] = '<a href="index.php?pg=upld" class="button"><img border="0" src="appimgs/database_add.png" title="' . $PHPML_LANG["import"] . '"></a>'; $pgArr['caption'] = $PHPML_LANG["subscriber_records"]; $pgArr['contents'] = ob_get_contents(); $pgArr['help'] = "Manage your subscribers. You have the ability to:<br />\n Add<br />\n Delete<br />\n If a customer wishes to have their record\n edited, they will have to first unsubscribe,\n then recreate a new account."; ob_end_clean(); echo getSkin($pgArr); function _getDefList($listid = '') { global $phpml, $PHPML_LANG; $query = "SELECT listid, title\n FROM " . $phpml['dbLists'] . "\n WHERE display = '1'"; $result = mysql_query($query) or die($PHPML_LANG["error_query"] . mysql_error()); $num = mysql_num_rows($result); if ($num) { $optBuild = $PHPML_LANG["mailinglist"] . ': <select name="change_def_list" onchange="this.form.submit()">'; while ($row = mysql_fetch_assoc($result)) { $dbListID = $row['listid']; $dbTitle = $row['title']; $optBuild .= '<option'; $optBuild .= $dbListID == $listid ? ' selected' : ''; $optBuild .= ' value="' . $dbListID . '">' . $dbTitle . '</option>'; }
public function assignPageVars() { $seo = array('title' => C('WEBSITE_TITLE'), 'keywords' => C('WEBSITE_KEYWORDS'), 'description' => C('WEBSITE_DESCRIPTION')); $cfg = array('owner' => C('WEBSITE_OWNER'), 'statisticalcode' => C('WEBSITE_STATISTICAL_CODE'), 'theme' => getSkin(C('DEFAULT_SKIN'))); //若是晚上 则固定为darkly样式 if (isNight()) { // $cfg['theme'] = "darkly"; } // $this->assignVars($seo, $cfg); }
?> ); } .sideNav .recentlyDiary li { background-image: url(<?php echo getSkin('icon_3'); ?> ); } .sideNav .recentlyComment li { background-image: url(<?php echo getSkin('icon_1'); ?> ); } .sideNav .monthlyDiary li { background-image: url(<?php echo getSkin('icon_2'); ?> ); } .sideNav .listCategory li { background-image: url(<?php echo getSkin('icon_2'); ?> ); } /*============================================================================== * 44. rankingSideNav(ランキングサイドナビ) *----------------------------------------------------------------------------*/ .rankingSideNav { width: 150px; margin: 0 auto; border: 8px solid #<?php echo $colors[8]; ?> ; } .rankingSideNav .partsHeading {