public function execute() { GWF_Website::addJavascript(GWF_WEB_ROOT . 'js/jq/thumbnails.js'); GWF_Website::addJavascriptOnload('konzInitPresse();'); $this->module->setNextHREF(GWF_WEB_ROOT . 'hoehrproben.html'); return $this->templatePresse(); }
public function execute() { GWF_Website::addJavascript(GWF_WEB_ROOT . 'js/jq/color.js'); GWF_Website::addJavascript(GWF_WEB_ROOT . 'js/jq/ghostwriter.js'); GWF_Website::addJavascriptOnload('initGhostwriter();'); $this->module->setNextHREF(GWF_WEB_ROOT . 'presseberichte.html'); return $this->templateEnsemble(); }
public function execute() { GWF_Website::addJavascript(GWF_WEB_ROOT . 'js/jq/color.js'); GWF_Website::addJavascript(GWF_WEB_ROOT . 'js/jq/ghostwriter.js'); GWF_Website::addJavascriptOnload('initGhostwriter();'); $this->module->setNextHREF(GWF_WEB_ROOT . 'kontakt.html'); return $this->templateExklusiv(); }
public function execute() { GWF_Website::addJavascript(GWF_WEB_ROOT . 'js/jq/color.js'); GWF_Website::addJavascript(GWF_WEB_ROOT . 'js/jq/ghostwriter.js'); GWF_Website::addJavascriptOnload('initGhostwriter(); initAboutSlideshow();'); $this->module->setNextHREF(GWF_WEB_ROOT . 'biography.html'); return $this->templateAbout(); }
public function execute() { GWF_Website::addJavascript(GWF_WEB_ROOT . 'js/jq/color.js'); GWF_Website::addJavascript(GWF_WEB_ROOT . 'js/jq/ghostwriter.js'); GWF_Website::addJavascriptOnload('initRepertoireSlideshow(); initGhostwriter();'); $this->module->setNextHREF(GWF_WEB_ROOT . 'arrangements.html'); return $this->templateRepertoire(); }
public function onStartup() { $this->onLoadLanguage(); GWF_Website::addJavascript(GWF_WEB_ROOT . 'tpl/konz/js/konzert.js?v=5'); GWF_Website::addJavascriptOnload('initKonzert();'); GWF_Website::setMetaTags($this->lang('meta_tags')); GWF_Website::setMetaDescr($this->lang('meta_descr')); }
public function execute() { GWF_Module::loadModuleDB('Votes')->onInclude(); if (false !== ($error = $this->sanitize())) { return $error; } GWF_Website::addJavascript(GWF_WEB_ROOT . 'js/module/Links/gwf_links.js'); return $this->overview(); }
public function execute() { GWF_Website::addJavascript(GWF_WEB_ROOT . 'js/jq/color.js'); GWF_Website::addJavascript(GWF_WEB_ROOT . 'js/jq/ghostwriter.js'); GWF_Website::addJavascriptOnload('initGhostwriter();'); GWF_Website::setPageTitle($this->module->lang('page_title')); $this->module->setNextHREF(GWF_WEB_ROOT . 'melanie_gobbo.html'); return $this->templateIntro(); }
public function execute() { GWF_Website::setPageTitle($this->module->lang('pt_new_links')); GWF_Website::setMetaTags($this->module->lang('mt_new_links')); GWF_Website::addJavascript(GWF_WEB_ROOT . 'js/module/Links/gwf_links.js'); if (Common::getGet('markread') !== false) { return $this->onMarkAllRead() . $this->templateNewLinks(); } return $this->templateNewLinks(); }
public function execute() { $back = ''; GWF_Website::addJavascript(GWF_WEB_ROOT . 'js/module/Helpdesk/helpdesk.js'); GWF_Website::addJavascriptOnload('helpdeskInit();'); if (Common::getGetString('generate') === 'now') { $back .= $this->onGenerate(); } return $back . $this->templateFAQ(); }
public function execute() { if (false !== ($error = $this->sanitize())) { return $error; } GWF_Website::addJavascript(Common::getProtocol() . '://www.google.com/jsapi'); GWF_Website::addJavascriptInline('google.load("language", "1");'); GWF_Website::setPageTitle($this->pm->display('pm_title')); return $this->templateShow(Common::getGet('translate') !== false); }
public function execute() { GWF_ChatOnline::onRequest($this->module); GWF_Website::setPageTitle($this->module->lang('pt_chat')); GWF_Website::setMetaTags($this->module->lang('mt_chat')); GWF_Website::addJavascript(GWF_WEB_ROOT . 'js/module/Chat/gwf_chat.js?v=4'); if (false !== Common::getPost('post')) { return $this->onPost() . $this->templatePage(); } return $this->templatePage(); }
private function templatePlaces() { GWF_Website::addJavascript($this->googleMapsPath()); GWF_Website::addJavascript(GWF_WEB_ROOT_NO_LANG . 'js/module/Profile/profile.js?v=57'); // GWF_Website::addJavascript(GWF_WEB_ROOT_NO_LANG.'js/3p/fancybox/jquery.fancybox.pack.js'); // GWF_Website::addCSS(GWF_WEB_ROOT_NO_LANG.'js/3p/fancybox/jquery.fancybox.css'); // GWF_Website::addCSS(GWF_WEB_ROOT_NO_LANG.'css/profile_poi.css'); $user = GWF_User::getStaticOrGuest(); $userid = $user->getID(); $table = GDO::table('GWF_ProfilePOI'); $tVars = array('user_id' => $userid, 'is_admin' => $user->isAdmin() ? 'true' : 'false', 'total' => $table->countRows(), 'visible' => $table->countRows(GWF_ProfilePOI::wherePermissions(), array('users', 'profiles', 'whitelist')), 'js_trans' => $this->jsTrans(), 'form_delete' => $this->formDelete(), 'pois' => GWF_ProfilePOI::getPOICount($userid), 'maxp' => $this->module->cfgAllowedPOIs(), 'api_key' => $this->module->cfgMapsApiKey(), 'protocol' => Common::getProtocol(), 'init_lat' => 0, 'init_lon' => 0); return $this->module->templatePHP('places.php', $tVars); }
public function execute() { GWF_ForumBoard::init(true); if (false !== ($error = $this->sanitize())) { return $error; } GWF_Website::addJavascript(GWF_WEB_ROOT . 'js/module/Forum/gwf_forum.js'); if ($this->module->cfgUseGTranslate()) { GWF_Website::addJavascript(Common::getProtocol() . '://www.google.com/jsapi'); GWF_Website::addJavascriptInline('google.load("language", "1");'); } GWF_Website::setPageTitle($this->module->lang('pt_thread', array($this->thread->getBoard()->getVar('board_title'), $this->thread->getVar('thread_title')))); return $this->templateThread(); }
public function onStartup() { $ms = (string) ((GWF_ONLINE_TIMEOUT / 2 - 1) * 1000); GWF_Website::addJavascript(GWF_WEB_ROOT . 'js/module/Heart/hb.js'); GWF_Website::addJavascriptOnload(sprintf('setTimeout("gwf_heartbeat(%s);", %s);', $ms, $ms)); $cut = time() - GWF_ONLINE_TIMEOUT; $spider = GWF_User::WEBSPIDER; $online = GDO::table('GWF_User')->selectVar('COUNT(*)', "user_lastactivity>{$cut} AND user_options&{$spider}=0"); if ($online > $this->cfgUserrecordCount()) { $this->saveModuleVar('hb_userrecord', $online); $this->saveModuleVar('hb_recorddate', GWF_Time::getDate(14)); } $pc = $this->cfgPagecount(); $this->saveModuleVar('hb_pagecount', $pc + 1); }
public function execute() { GWF_Website::addJavascript(GWF_WEB_ROOT . 'js/module/PM/gwf_pm.js'); if (false === ($user = GWF_Session::getUser())) { return $this->templateGuests(); } if (false !== ($error = $this->sanitize())) { return $error; } $back = ''; if (isset($_POST['newfolder'])) { $back = $this->onCreateFolder(); } elseif (isset($_POST['delete'])) { $back = $this->onDelete(); } elseif (isset($_POST['move'])) { $back = $this->onMove(); } return $back . $this->templateOverview(); }
public function onRequest() { GWF_Website::addJavascript(GWF_WEB_ROOT . 'js/module/PM/gwf_pm.js'); $back = parent::onRequest(); return $back; }
public function onStartup() { GWF_Website::addJavascript(GWF_WEB_ROOT . 'tpl/slay/js/slay.js'); GWF_Website::addJavascriptOnload('slayInit();'); }
public function onStartup() { self::$instance = $this; // Register login hook GWF_Hook::add(GWF_HOOK::LOGIN_PRE, array(__CLASS__, 'hookLoginPre')); GWF_Hook::add(GWF_HOOK::LOGIN_AFTER, array(__CLASS__, 'hookLoginAfter')); GWF_Hook::add(GWF_HOOK::VOTED_SCORE, array(__CLASS__, 'hookVoteScore')); GWF_Hook::add(GWF_HOOK::ACTIVATE, array(__CLASS__, 'hookRegister')); GWF_Hook::add(GWF_HOOK::CHANGE_PASSWD, array(__CLASS__, 'hookChangePass')); GWF_Hook::add(GWF_HOOK::DELETE_USER, array(__CLASS__, 'hookDeleteUser')); GWF_Hook::add(GWF_HOOK::CHANGE_UNAME, array(__CLASS__, 'hookDeleteUser')); $this->onLoadLanguage(); if (Common::getGet('mo') !== 'WeChall') { $this->onInclude(); } GWF_Website::addJavascriptOnload('wcjsInit();'); GWF_Website::setPageTitlePre('[WeChall] '); GWF_Website::setMetaTags(WC_HTML::lang('mt_wechall')); GWF_Website::setMetaDescr(WC_HTML::lang('md_wechall')); GWF_Website::addJavascript('/js/module/WeChall/wc.js?v=5.1'); }
<?php #https://embed.mibbit.com/?server=storm.psych0tik.net%3A%2B6697&channel=%23hbh&forcePrompt=true GWF_Website::addJavascript(GWF_WEB_ROOT . 'js/module/Chat/gwf_mibbit.js?v=1'); GWF_Website::addJavascriptInline("window.onload=gwfMibbitInit; window.onresize=gwfMibbitInit;"); ?> <h1><?php echo $tLang->lang('pt_irc_chat') . ' ( ' . GWF_HTML::display($tVars['module']->cfgIRCURL()) . ' )'; ?> </h1> <?php $buttons = ''; if ($tVars['gwf_chat']) { $buttons .= GWF_Button::generic($tLang->lang('btn_webchat'), $tVars['href_webchat'], 'generic', '', false); } if ($tVars['mibbit']) { $mib_url = $tVars['mibbit_url']; $onclick = "window.open('{$mib_url}', 'dummyname', 'height=undefined,width=undefined', false);"; $buttons .= GWF_Button::generic($tLang->lang('btn_ircchat'), $tVars['href_ircchat'], 'generic', '', true); $buttons .= GWF_Button::generic($tLang->lang('btn_ircchat_full'), '#', 'generic', '', false, $onclick); } if ($buttons !== '') { echo '<div class="gwf_buttons_outer">' . GWF_HTML::div($buttons, 'gwf_buttons') . '</div>' . PHP_EOL; } ?> <iframe id="gwf_mibbit" src="<?php echo $tVars['mibbit_url']; ?>
private function templateStats() { if (false !== ($errors = $this->validate())) { return $errors; } $this->setPageTitles(); GWF_Website::addJavascriptOnload('wcjsStatsJQuery();'); GWF_Website::addJavascript(GWF_WEB_ROOT . 'js/jquery-ui-1.8.5.custom.min.js'); GWF_Website::addCSS(GWF_WEB_ROOT . 'tpl/wc4/css/ui-lightness/jquery-ui-1.8.5.custom.css'); if ($this->user1 === false) { $form_action = GWF_WEB_ROOT . 'stats'; } else { $form_action = GWF_WEB_ROOT . 'stats/' . $this->user1->urlencode('user_name'); } $tVars = array('user1' => $this->user1, 'user2' => $this->user2, 'form_action' => $form_action, 'sites' => $this->getSites(), 'img_src' => $this->getImgSrc(), 'img_alt' => $this->getImgTitle(), 'icons' => isset($_POST['icons']), 'values' => isset($_POST['values']), 'zoom' => isset($_POST['zoom']), 'months' => $this->months === 0 ? '' : $this->months); return $this->module->templatePHP('stats.php', $tVars); }
<?php GWF_Website::addJavascript(GWF_WEB_ROOT . 'js/module/Shoutbox/gwf_shoutbox.js'); ?> <div> <form action="<?php echo $tVars['form_action']; ?> " method="post"> <?php echo GWF_CSRF::hiddenForm('SHOUTBOX'); ?> <?php if ($tVars['captcha']) { ?> <div><?php echo $tVars['captcha']; ?> <input type="text" name="captcha" id="captcha" size="5" value="" /></div> <?php } ?> <div> <input type="text" name="message" size="32" id="gwf_shoutmsg" /> <input type="submit" name="shout" value="<?php echo $tLang->lang('btn_shout'); ?> " onclick="gwfShout(); return false;" /> </div> </form> </div>
public function onIncludeAjax() { GWF_Website::addJavascript(GWF_WEB_ROOT . 'js/module/Votes/gwf_vote.js'); }