function show($info, $error = false) { if (empty($info['website_id'])) { print "<script>" . pluginGETMethod() . "</script>"; return; } $langController = new LanguageController(); $this->set('langList', $langController->__getAllLanguages()); $this->set('langNull', true); if (empty($error)) { $websiteController = new WebsiteController(); $websiteInfo = $websiteController->__getWebsiteInfo($info['website_id']); $websiteInfo['website_id'] = $info['website_id']; } else { $websiteInfo = $info; } $this->set('websiteInfo', $websiteInfo); $this->pluginRender('showsiteinfo'); }
</td> </tr> <tr class="blue_row"> <td class="tab_left_bot_noborder"></td> <td class="tab_right_bot"></td> </tr> <tr class="listBot"> <td class="left" colspan="1"></td> <td class="right"></td> </tr> </table> <table width="100%" cellspacing="0" cellpadding="0" border="0" class="actionSec"> <tr> <td style="padding-top: 6px;text-align:right;"> <a onclick="<?php echo pluginGETMethod(); ?> " href="javascript:void(0);"> <img border="0" alt="" src="<?php echo SP_IMGPATH; ?> /cancel.gif"/> </a> <a onclick="<?php echo pluginPOSTMethod('editSubmitInfo', 'subcontent', 'action=createmetatag'); ?> " href="javascript:void(0);"> <img border="0" alt="" src="<?php echo SP_IMGPATH; ?> /proceed.gif"/>
<?php echo showSectionHead($sectionHead); ?> <form id='search_form'> <table width="45%" border="0" cellspacing="0" cellpadding="0" class="search"> <tr> <th> Click to <a onclick="<?php echo pluginGETMethod('action=settings&graph=1', 'content'); ?> " href="javascript:void(0);">Show Settings Graph</a></th> </tr> </table> </form> <div id='subcontent'> <?php if ($showGraph) { ?> <img src="<?php echo PLUGIN_IMGPATH; ?> /graph.gif"></img> <?php } ?> </div>