public function estimateReport($company_symbol, $second_title) { $second_title_found = Company::find_company_name_comp_id($company_symbol); if ($second_title_found) { if (!$second_title || $second_title == $company_symbol) { return Redirect::route('home-estimate', array($company_symbol, url_maker($second_title_found))); } } else { return Redirect::route('404'); } $interval = Input::get('interval'); $total = Input::get('total'); Company::update_chapter_view($company_symbol); //<---this updates the view count of chapter $previous_data = CompanyData::Check_recod_exists_by_company_symbol($company_symbol); $interval = isset($interval) && !empty($interval) ? $interval : 'd'; $precision = $previous_data ? $previous_data : 1; $stock_market = new StockMarket($company_symbol, $interval, $precision); //<---class declared here and passed the datas $company_name = $stock_market->find_company_name_from_symbol(); if ($company_name) { //<-- if company name given is not false go further $stock_records = $stock_market->get_the_market_data(); //<--function to collect Historical data for given company symbol } if (!$stock_records) { return Redirect::route('404'); } else { $buy_level = $stock_market->get_prediction_buy_level(); //<--this function helps to predict the buying level mark $sell_level = $stock_market->get_prediction_sell_level(); //<--this function helps to predict the selling level mark $compan_details = $stock_market->get_company_description(); //<--get the stored company Descriptions $prediction = Prediction::update_predicted_data($company_symbol, $precision); //<--class declaration/ find to update for prediction if ($prediction) { $company_id = Company::find_company_id_company_symbol($company_symbol); $ipLite = new ip2locationlite(); $ipLite->setKey('516921f89d86829aafa20f18ff7408fe4f2e974d114b53593f56a91ab7a286cc'); $locations = $ipLite->getCity($_SERVER['REMOTE_ADDR']); $ge_countryName = !empty($locations) && is_array($locations) ? $locations['cityName'] : "undeclared"; $prediction = Prediction::where('comp_id_fk', '=', $company_id)->delete(); $company = Prediction::create(array('comp_id_fk' => $company_id, 'buy_level' => trim($buy_level), 'sell_level' => trim($sell_level), 'accuracy' => $precision, 'updated' => date("Y-m-d H:i:s", time()), 'host' => $ge_countryName)); } } $meta_data = array('title' => ucwords($company_name) . " Stock Market Value Prediction Result :: StockLength.com To Check Your Risk Level On Stock Market", 'metaDescription' => ucwords($company_name) . ' find online Prediction Stock Market Informer, Online free tool to check stockmarket future ' . ucwords($company_name) . ', Online free selling buyer sujection, Featured Predict Stock Market, free fast Online Check and reviews ' . ucwords($company_name) . '. Latest updates on everything Predict Stock Market related.', 'company_symbol' => $company_symbol, 'precision' => $precision, 'fb_image' => return_image($company_symbol . '.jpeg')); return View::make('estimate', array('meta_data' => $meta_data, 'company_name' => $company_name, 'compan_details' => $compan_details, 'stock_records' => $stock_records, 'stock_market' => $stock_market, 'buy_level' => $buy_level, 'sell_level' => $sell_level, 'precision' => $precision, 'records' => parent::latestPredictions(), 'tickers' => parent::getTicker(), 'company_symbol' => $company_symbol, 'page_checker' => true)); }
public function sitemapCreater() { echo '<?xml version="1.0" encoding="UTF-8"?> <urlset xmlns="http://www.google.com/schemas/sitemap/0.84">'; $articles = Company::Read_data_sitemap(); if ($articles) { foreach ($articles as $record) { $company_symbol = $record->company_symbol; $company_name = $record->company_name; $created = $record->created; $displaydate = date("Y-m-d", strtotime($created)); $url_product = URL::route('home-estimate', array($company_symbol, url_maker($company_name))); sitemapper($url_product, $displaydate); } } echo '</urlset>'; $contents = View::make('sitemap.view_sitemap'); // Create a response and modify a header value $response = Response::make($contents, 200)->header('Content-Type', 'text/xml'); return $response; }
?> <tr class="CalTableRow1"> <th class="CalTableColumn1" colspan="7"> <span style="float: left;"><?php echo $ThemeSet['TitleIcon']; echo "Viewing " . $MyMonthName . " " . $MyYear; ?> </span> <span style="float: right;"> <a href="<?php echo url_maker($exfile['calendar'], $Settings['file_ext'], "act=view&calmadd=" . $backcalm, $Settings['qstr'], $Settings['qsep'], $prexqstr['calendar'], $exqstr['calendar']); ?> "><</a><?php echo $ThemeSet['LineDivider']; ?> <a href="<?php echo url_maker($exfile['calendar'], $Settings['file_ext'], "act=view&calmadd=" . $nextcalm, $Settings['qstr'], $Settings['qsep'], $prexqstr['calendar'], $exqstr['calendar']); ?> ">></a> </span> </th> </tr><?php } ?> <tr class="CalTableRow2"> <?php echo $DayNames; ?> </tr><tr class="CalTableRow3"> <?php echo $WeekDays; ?> </tr>
echo $ForumID; ?> "> <td<?php echo $ForumClass[1]; ?> ><div class="forumicon"> <?php echo $PreForum; ?> </div></td> <td<?php echo $ForumClass[2]; ?> ><div class="forumname"><a href="<?php echo url_maker($exfile[$ForumType], $Settings['file_ext'], "act=view&id=" . $ForumID . $ExStr, $Settings['qstr'], $Settings['qsep'], $prexqstr[$ForumType], $exqstr[$ForumType]); ?> "<?php if ($ForumType == "redirect") { echo " onclick=\"window.open(this.href);return false;\""; } ?> ><?php echo $ForumName; ?> </a></div> <div class="forumdescription"><?php echo $ForumDescription; ?> <br /> <?php
?> <tr class="TableSMenuRow1"> <td class="TableSMenuColumn1"><?php echo $ThemeSet['TitleIcon']; ?> Group Menu</td> </tr><?php } ?> <tr class="TableSMenuRow2"> <td class="TableSMenuColumn2"> </td> </tr><tr class="TableSMenuRow3"> <td class="TableSMenuColumn3"><a href="<?php echo url_maker($exfile['admin'], $Settings['file_ext'], "act=addgroup", $Settings['qstr'], $Settings['qsep'], $prexqstr['admin'], $exqstr['admin']); ?> ">Add Groups</a></td> </tr><tr class="TableSMenuRow3"> <td class="TableSMenuColumn3"><a href="<?php echo url_maker($exfile['admin'], $Settings['file_ext'], "act=editgroup", $Settings['qstr'], $Settings['qsep'], $prexqstr['admin'], $exqstr['admin']); ?> ">Edit Groups</a></td> </tr><tr class="TableSMenuRow3"> <td class="TableSMenuColumn3"><a href="<?php echo url_maker($exfile['admin'], $Settings['file_ext'], "act=deletegroup", $Settings['qstr'], $Settings['qsep'], $prexqstr['admin'], $exqstr['admin']); ?> ">Delete Groups</a></td> </tr><tr class="TableSMenuRow4"> <td class="TableSMenuColumn4"> </td> </tr></table></div> <?php }
?> </Image> <Url type="text/html" method="POST" template="<?php echo $BoardURL . $_GET['board'] . "/" . url_maker("search", $Settings['file_ext'], null, "search", "search"); ?> "> <Param name="act" value="topics"/> <Param name="search" value="{searchTerms}"/> <Param name="type" value="wildcard"/> <Param name="page" value="1"/> </Url> <?php echo $endtag; ?> <moz:SearchForm><?php echo $BoardURL . $_GET['board'] . "/" . url_maker("search", $Settings['file_ext'], null, "search", "search"); ?> </moz:SearchForm> </OpenSearchDescription> <?php } if ($_GET['debug'] == "true" || $_GET['debug'] == "on") { function execution_time($starttime) { list($uetime, $etime) = explode(" ", microtime()); $endtime = $uetime + $etime; return bcsub($endtime, $starttime, 4); } echo "<!-- execution_time=\"" . execution_time($starttime) . "\" -->"; } gzip_page($Settings['use_gzip'], $GZipEncode['Type']);
} if ($Settings['showverinfo'] != "on") { ?> <!-- generator="<?php echo $iDB; ?> " --> <?php } echo "\n"; $iWrappers['METATAGS'] = ob_get_clean(); ob_start("idb_suboutput_handler"); ?> <script type="text/javascript" src="<?php echo url_maker($exfilejs['javascript'], $Settings['js_ext'], null, $Settings['qstr'], $Settings['qsep'], $prexqstrjs['javascript'], $exqstrjs['javascript']); ?> "></script> <?php echo "\n"; ?> <!-- ^_^ Stephanie Braun --> <?php if ($ThemeSet['CSSType'] == "import") { ?> <style type="text/css"> /* Import the theme css file */ <?php echo "\n@import url(\"" . $ThemeSet['CSS'] . "\");\n"; ?> </style>
?> </title> <?php $iWrappers['TITLETAG'] = ob_get_clean(); ob_start("idb_suboutput_handler"); ?> </head> <body> <?php $iWrappers['BODYTAG'] = ob_get_clean(); ob_start("idb_suboutput_handler"); require $SettDir['inc'] . 'navbar.php'; $iWrappers['NAVBAR'] = ob_get_clean(); ob_start("idb_suboutput_handler"); if ($_SESSION['UserGroup'] == $Settings['GuestGroup'] || $GroupInfo['CanEditProfile'] == "no") { redirect("location", $rbasedir . url_maker($exfile['index'], $Settings['file_ext'], "act=view", $Settings['qstr'], $Settings['qsep'], $prexqstr['index'], $exqstr['index'], false)); ob_clean(); header("Content-Type: text/plain; charset=" . $Settings['charset']); $urlstatus = 302; gzip_page($Settings['use_gzip'], $GZipEncode['Type']); session_write_close(); die; } if ($_SESSION['UserGroup'] != $Settings['GuestGroup'] || $GroupInfo['CanEditProfile'] == "yes") { if ($_GET['act'] == null || $_GET['act'] == "notepad") { $_GET['act'] = "view"; } if (!in_array($_GET['act'], $idbactcheck)) { $_GET['act'] = "view"; } if ($_GET['act'] == "view" || $_GET['act'] == "signature" || $_GET['act'] == "avatar" || $_GET['act'] == "settings" || $_GET['act'] == "profile" || $_GET['act'] == "userinfo") {
echo $numposts; ?> posts<br /> Our members have made a total of <?php echo $numtopics; ?> topics<br /> We have <?php echo $nummembers; ?> registered members<br /> Our newest member is <a<?php echo $NewestMemTitle; ?> href="<?php echo url_maker($exfile['member'], $Settings['file_ext'], "act=view&id=" . $NewestMem['ID'], $Settings['qstr'], $Settings['qsep'], $prexqstr['member'], $exqstr['member']); ?> "><?php echo $NewestMem['Name']; ?> </a><?php echo $NewestMemExtraIP; ?> </div></td> </tr> <tr id="Stats7" class="TableStatsRow4"> <td class="TableStatsColumn4" colspan="2"> </td> </tr> </table></div> <div class="DivStats"> </div> <?php
if ($_SESSION['UserGroup'] != $Settings['GuestGroup']) { $User1Name = $_SESSION['MemberName']; } $query = sql_pre_query("INSERT INTO " . $Settings['sqltable'] . "events (\"UserID\", \"GuestName\", \"EventName\", \"EventText\", \"TimeStamp\", \"TimeStampEnd\", \"EventMonth\", \"EventMonthEnd\", \"EventDay\", \"EventDayEnd\", \"EventYear\", \"EventYearEnd\", \"IP\") VALUES\n" . "(%i, '%s', '%s', '%s', %i, %i, %i, %i, %i, %i, %i, %i, '%s')", array($User1ID, $User1Name, $_POST['EventName'], $_POST['EventText'], $TimeSIn, $TimeSOut, $EventMonth, $EventMonthEnd, $EventDay, $EventDayEnd, $EventYear, $EventYearEnd, $User1IP)); sql_query($query, $SQLStat); $eventid = sql_get_next_id($Settings['sqltable'], "events", $SQLStat); redirect("refresh", $rbasedir . url_maker($exfile['event'], $Settings['file_ext'], "act=event&id=" . $eventid, $Settings['qstr'], $Settings['qsep'], $prexqstr['event'], $exqstr['event'], FALSE), "3"); ?> <tr> <td><span class="TableMessage"><br /> Event <?php echo $_POST['EventName']; ?> was started.<br /> Click <a href="<?php echo url_maker($exfile['event'], $Settings['file_ext'], "act=event&id=" . $eventid, $Settings['qstr'], $Settings['qsep'], $prexqstr['event'], $exqstr['event']); ?> ">here</a> to continue to event.<br /> </span><br /></td> </tr> <?php } ?> </table> </td></tr> <tr class="TableRow4"> <td class="TableColumn4"> </td> </tr> </table></div> <?php }
<div class="DivMkTopics"> </div> <?php } ?> <table style="width: 100%;" class="Table2"> <tr> <td style="width: 30%; text-align: left;"><?php echo $pstring; ?> </td> <td style="width: 70%; text-align: right;"> <?php if ($PermissionInfo['CanMakeTopics'][$ForumID] == "yes" && $CanHaveTopics == "yes") { ?> <a href="<?php echo url_maker($exfile['forum'], $Settings['file_ext'], "act=create&id=" . $ForumID, $Settings['qstr'], $Settings['qsep'], $prexqstr['forum'], $exqstr['forum']); ?> "><?php echo $ThemeSet['NewTopic']; ?> </a> <?php } ?> </td> </tr> </table> <?php //List Page Number Code end if ($pstring != null || $_GET['act'] != "view" || $PermissionInfo['CanMakeTopics'][$ForumID] == "yes" && $CanHaveTopics == "yes") { /*<div class="DivPageLinks"> </div>*/
if ($_SESSION['UserGroup'] != $Settings['GuestGroup']) { $User1Name = $_SESSION['MemberName']; } $User1IP = $_SERVER['REMOTE_ADDR']; $query = sql_pre_query("INSERT INTO \"" . $Settings['sqltable'] . "messenger\" (\"SenderID\", \"ReciverID\", \"GuestName\", \"MessageTitle\", \"MessageText\", \"Description\", \"DateSend\", \"Read\", \"IP\") VALUES \n(%i, %i, '%s', '%s', '%s', '%s', %i, %i, '%s')", array($_SESSION['UserID'], $SendMessageToID, $_SESSION['MemberName'], $_POST['MessageName'], $_POST['Message'], $_POST['MessageDesc'], $LastActive, 0, $User1IP)); sql_query($query, $SQLStat); $messageid = sql_get_next_id($Settings['sqltable'], "messenger", $SQLStat); ?> <tr> <td><span class="TableMessage"><br /> Message sent to user <?php echo $_POST['SendMessageTo']; ?> .<br /> Click <a href="<?php echo url_maker($exfile['index'], $Settings['file_ext'], "act=view", $Settings['qstr'], $Settings['qsep'], $prexqstr['index'], $exqstr['index']); ?> ">here</a> to go back to index.<br /> </span><br /></td> </tr> <?php } ?> </table> </td></tr> <tr class="TableRow4"> <td class="TableColumn4"> </td> </tr> </table></div> <?php }
} if ($PinnedTopic > 0 && $PinnedTopic < 3) { $PreTopic = "<span style=\"font-weight: bold;\">Pinned: </span>"; } if ($PinnedTopic == 0) { $PreTopic = null; } if ($OldForumID == $ForumID && $TForumID != $ForumID) { $PreTopic = "<span>Moved: </span>"; } ?> <li><?php echo $PreTopic; ?> <a href="<?php echo url_maker($exfile['topic'], $Settings['file_ext'], "act=lowview&id=" . $TopicID . "&page=1", $Settings['qstr'], $Settings['qsep'], $prexqstr['topic'], $exqstr['topic']); ?> "><?php echo $TopicName; ?> </a> <span style="color: gray; font-size: 10px;">(<?php echo $NumReply; ?> replies)</span></li> <?php ++$i; } ?> </ul></div><div> </div> <div style="font-size: 11px; font-weight: bold; padding: 10px; border: 1px solid gray;"> <?php
?> </Image> <Url type="text/html" method="POST" template="<?php echo $BoardURL . url_maker("search", $Settings['file_ext'], null, "search", "search"); ?> "> <Param name="act" value="topics"/> <Param name="search" value="{searchTerms}"/> <Param name="type" value="wildcard"/> <Param name="page" value="1"/> </Url> <?php echo $endtag; ?> <moz:SearchForm><?php echo $BoardURL . url_maker("search", $Settings['file_ext'], null, "search", "search"); ?> </moz:SearchForm> </OpenSearchDescription> <?php } if ($_GET['debug'] == "true" || $_GET['debug'] == "on") { function execution_time($starttime) { list($uetime, $etime) = explode(" ", microtime()); $endtime = $uetime + $etime; return bcsub($endtime, $starttime, 4); } echo "<!-- execution_time=\"" . execution_time($starttime) . "\" -->"; } gzip_page($Settings['use_gzip'], $GZipEncode['Type']);
$pstring = $pstring . "<span class=\"pagelink\"><a href=\"" . url_maker($exfile['topic'], $Settings['file_ext'], "act=lowview&id=" . $_GET['id'] . "&page=" . $Pagez[$pagei], $Settings['qstr'], $Settings['qsep'], $prexqstr['topic'], $exqstr['topic']) . "\">" . $Pagez[$pagei] . "</a></span> "; } if ($pagei == 3) { $pstring = $pstring . "<span class=\"pagecurrent\"><a href=\"" . url_maker($exfile['topic'], $Settings['file_ext'], "act=lowview&id=" . $_GET['id'] . "&page=" . $Pagez[$pagei], $Settings['qstr'], $Settings['qsep'], $prexqstr['topic'], $exqstr['topic']) . "\">" . $Pagez[$pagei] . "</a></span> "; } } if ($Pagez[$pagei] == "First") { $pstring = $pstring . "<span class=\"pagelinklast\"><a href=\"" . url_maker($exfile['topic'], $Settings['file_ext'], "act=lowview&id=" . $_GET['id'] . "&page=1", $Settings['qstr'], $Settings['qsep'], $prexqstr['topic'], $exqstr['topic']) . "\">«</a></span> "; } if ($Pagez[$pagei] == "Last") { $ptestnext = $pagenext + 1; $paget = $pagei - 1; $Pnext = $_GET['page'] + 1; $pstring = $pstring . "<span class=\"pagelink\"><a href=\"" . url_maker($exfile['topic'], $Settings['file_ext'], "act=lowview&id=" . $_GET['id'] . "&page=" . $Pnext, $Settings['qstr'], $Settings['qsep'], $prexqstr['topic'], $exqstr['topic']) . "\">></a></span> "; if ($ptestnext < $pagenum) { $pstring = $pstring . "<span class=\"pagelinklast\"><a href=\"" . url_maker($exfile['topic'], $Settings['file_ext'], "act=lowview&id=" . $_GET['id'] . "&page=" . $pagenum, $Settings['qstr'], $Settings['qsep'], $prexqstr['topic'], $exqstr['topic']) . "\">»</a></span> "; } } ++$pagei; } $pstring = $pstring . "</div>"; } //List Page Number Code end $CanMakeReply = "no"; $CanMakeTopic = "no"; if ($PermissionInfo['CanMakeTopics'][$TopicForumID] == "yes" && $CanHaveTopics == "yes") { $CanMakeTopic = "yes"; } if ($TopicClosed == 0 && $PermissionInfo['CanMakeReplys'][$TopicForumID] == "yes") { $CanMakeReply = "yes"; }
$_GET['act'] = "view"; } if (!in_array($_GET['act'], $idbactcheck)) { $_GET['act'] = "view"; } if (!is_numeric($_GET['id'])) { $_GET['id'] = "1"; } if ($_GET['act'] == "view" || $_GET['act'] == "create" || $_GET['act'] == "maketopic" || $_POST['act'] == "maketopics") { require $SettDir['inc'] . 'topics.php'; } if ($_GET['act'] == "lowview") { require $SettDir['inc'] . 'lowtopics.php'; } if ($_GET['act'] == "oldrss" || $_GET['act'] == "rss" || $_GET['act'] == "atom" || $_GET['act'] == "opml") { redirect("location", $rbasedir . url_maker($exfile['rss'], $Settings['file_ext'], "act=" . $_GET['act'] . "&id=" . $_GET['id'], $Settings['qstr'], $Settings['qsep'], $prexqstr['rss'], $exqstr['rss'], FALSE)); ob_clean(); header("Content-Type: text/plain; charset=" . $Settings['charset']); $urlstatus = 302; gzip_page($Settings['use_gzip'], $GZipEncode['Type']); session_write_close(); die; } $iWrappers['CONTENT'] = ob_get_clean(); ob_start("idb_suboutput_handler"); require $SettDir['inc'] . 'endpage.php'; $iWrappers['COPYRIGHT'] = ob_get_clean(); ob_start("idb_suboutput_handler"); if (!isset($ForumName)) { $ForumName = null; }
?> ">Board Info Manager</a> </span><span style="float: right;"> </span></td> </tr><?php } ?> <tr class="TableMenuRow2"> <th class="TableMenuColumn2" style="width: 100%; text-align: left;"> <span style="float: left;"> Editing Board Info: </span> <span style="float: right;"> </span> </th> </tr> <tr class="TableMenuRow3"> <td class="TableMenuColumn3"> <form style="display: inline;" method="post" id="acptool" action="<?php echo url_maker($exfile['admin'], $Settings['file_ext'], "act=info", $Settings['qstr'], $Settings['qsep'], $prexqstr['admin'], $exqstr['admin']); ?> "> <table style="text-align: left;"> <tr style="text-align: left;"> <td style="width: 50%;"><label class="TextBoxLabel" for="board_name">Insert board name:</label></td> <td style="width: 50%;"><input type="text" name="board_name" class="TextBox" id="board_name" size="20" value="<?php echo $SettInfo['board_name']; ?> " /></td> </tr><tr style="text-align: left;"> <td style="width: 50%;"><label class="TextBoxLabel" for="Author">Insert boards admin name:</label></td> <td style="width: 50%;"><input type="text" name="Author" class="TextBox" id="Author" size="20" value="<?php echo $SettInfo['Author']; ?> " /></td>
$_POST['iDBTimeFormat'] = convert_strftime($_POST['iDBTimeFormat']); $_POST['iDBDateFormat'] = convert_strftime($_POST['iDBDateFormat']); $querynewprofile = sql_pre_query("UPDATE \"" . $Settings['sqltable'] . "members\" SET \"Interests\"='%s',\"Title\"='%s',\"Website\"='%s',\"TimeZone\"='%s',\"DateFormat\"='%s',\"TimeFormat\"='%s',\"Gender\"='%s',\"DST\"='%s',\"LastActive\"=%i,\"BirthMonth\"=%i,\"BirthDay\"=%i,\"BirthYear\"=%i,\"RepliesPerPage\"=%i,\"TopicsPerPage\"=%i,\"MessagesPerPage\"=%i,\"IP\"='%s' WHERE \"id\"=%i", array($_POST['Interests'], $_POST['Title'], $_POST['Website'], $_POST['YourOffSet'], $_POST['iDBTimeFormat'], $_POST['iDBDateFormat'], $_POST['YourGender'], $_POST['DST'], $NewDay, $BirthMonth, $BirthDay, $BirthYear, $_POST['RepliesPerPage'], $_POST['TopicsPerPage'], $_POST['MessagesPerPage'], $NewIP, $_SESSION['UserID'])); sql_query($querynewprofile, $SQLStat); } } } if ($_GET['act'] == "userinfo") { if ($_POST['update'] != "now") { $query = sql_pre_query("SELECT * FROM \"" . $Settings['sqltable'] . "members\" WHERE \"id\"=%i LIMIT 1", array($_SESSION['UserID'])); $result = sql_query($query, $SQLStat); $num = sql_num_rows($result); $i = 0; $YourID = sql_result($result, $i, "id"); $User1Email = sql_result($result, $i, "Email"); $userinfoact = url_maker($exfile['profile'], $Settings['file_ext'], "act=userinfo", $Settings['qstr'], $Settings['qsep'], $prexqstr['profile'], $exqstr['profile']); $profiletitle = " " . $ThemeSet['TitleDivider'] . " User Info Editer"; ?> <div class="TableMenuBorder"> <?php if ($ThemeSet['TableStyle'] == "div") { ?> <div class="TableMenuRow1"> <span style="text-align: left;"> <?php echo $ThemeSet['TitleIcon']; ?> <a href="<?php echo $userinfoact; ?> ">User Info Editer</a>
setcookie("UserID", null, GMTimeStamp() - 3600, $cbasedir, $cookieDomain, 1); setcookie("SessPass", null, GMTimeStamp() - 3600, $cbasedir, $cookieDomain, 1); setcookie(session_name(), "", GMTimeStamp() - 3600, $cbasedir, $cookieDomain, 1); } if ($cookieSecure === false) { setcookie("MemberName", null, GMTimeStamp() - 3600, $cbasedir, $cookieDomain); setcookie("UserID", null, GMTimeStamp() - 3600, $cbasedir, $cookieDomain); setcookie("SessPass", null, GMTimeStamp() - 3600, $cbasedir, $cookieDomain); setcookie(session_name(), "", GMTimeStamp() - 3600, $cbasedir, $cookieDomain); } } unset($_COOKIE[session_name()]); $_SESSION = array(); session_unset(); session_destroy(); redirect("location", $rbasedir . url_maker($exfile['member'], $Settings['file_ext'], "act=login", $Settings['qstr'], $Settings['qsep'], $prexqstr['member'], $exqstr['member'], false)); sql_free_result($resultchkusr); sql_free_result($svrgresultkgb); ob_clean(); header("Content-Type: text/plain; charset=" . $Settings['charset']); $urlstatus = 302; gzip_page($Settings['use_gzip'], $GZipEncode['Type']); session_write_close(); die; } sql_free_result($resultchkusr); sql_free_result($svrgresultkgb); } if ($_SESSION['UserID'] == 0 || $_SESSION['UserID'] == null) { $_SESSION['UserIP'] = $_SERVER['REMOTE_ADDR']; $_SESSION['MemberName'] = null;
?> ">Updating Settings</a> </span><span style="float: right;"> </span></td> </tr><?php } ?> <tr id="ProfileTitle" class="TableMenuRow2"> <th class="TableMenuColumn2">Updating Settings</th> </tr> <tr class="TableMenuRow3" id="ProfileUpdate"> <td class="TableMenuColumn3"> <div style="text-align: center;"> <br /><?php echo $errorstr; ?> <a href="<?php echo url_maker($exfile['admin'], $Settings['file_ext'], "act=" . $_GET['act'] . "&menu=groups", $Settings['qstr'], $Settings['qsep'], $prexqstr['admin'], $exqstr['admin']); ?> ">Click here</a> to back to admin cp.<br /> </div> </td></tr> <tr id="ProfileTitleEnd" class="TableMenuRow4"> <td class="TableMenuColumn4"> </td> </tr></table></div> <?php } ?> </td></tr> </table> <div> </div>
} gzip_page($Settings['use_gzip'], $GZipEncode['Type']); session_write_close(); die; } if (isset($_GET['showuser']) && is_numeric($_GET['showuser'])) { redirect("location", $rbasedir . url_maker($exfile['member'], $Settings['file_ext'], "act=view&id=" . $_GET['showuser'], $Settings['qstr'], $Settings['qsep'], $prexqstr['member'], $exqstr['member'], FALSE)); ob_clean(); header("Content-Type: text/plain; charset=" . $Settings['charset']); $urlstatus = 302; gzip_page($Settings['use_gzip'], $GZipEncode['Type']); session_write_close(); die; } if (isset($_GET['showevent']) && is_numeric($_GET['showevent'])) { redirect("location", $rbasedir . url_maker($exfile['event'], $Settings['file_ext'], "act=view&id=" . $_GET['showevent'], $Settings['qstr'], $Settings['qsep'], $prexqstr['event'], $exqstr['event'], FALSE)); ob_clean(); header("Content-Type: text/plain; charset=" . $Settings['charset']); $urlstatus = 302; gzip_page($Settings['use_gzip'], $GZipEncode['Type']); session_write_close(); die; } ?> <?php $iWrappers['EXTRALINKS'] = null; ob_start("idb_suboutput_handler"); ?> <title> <?php echo $Settings['board_name'] . $idbpowertitle;
?> </a> <?php if ($prepagelist !== null) { echo $prepagelist; } ?> </div> <div class="topicdescription"><?php echo $TopicDescription; ?> </div></td> <td class="TableColumn3" style="text-align: center;"><?php if ($UsersID > 0) { echo "<a href=\""; echo url_maker($exfile['member'], $Settings['file_ext'], "act=view&id=" . $UsersID, $Settings['qstr'], $Settings['qsep'], $prexqstr['member'], $exqstr['member']); echo "\">" . $UsersName . "</a>"; } if ($UsersID <= 0) { echo "<span>" . $UsersName . "</span>"; } ?> </td> <td class="TableColumn3" style="text-align: center;"><?php echo $TheTime; ?> </td> <td class="TableColumn3" style="text-align: center;"><?php echo $NumReply; ?> </td>
?> "></script> <?php echo "\n"; $iWrappers['JAVASCRIPT'] = ob_get_clean(); ob_start("idb_suboutput_handler"); ?> <link rel="Start" href="<?php echo $AltBoardURL . url_maker($exfile['index'], $Settings['file_ext'], "act=view", $Settings['qstr'], $Settings['qsep'], $prexqstr['index'], $exqstr['index']); ?> " title="<?php echo $Settings['board_name'] . $idbpowertitle; ?> " /> <link rel="Copyright" href="<?php echo $AltBoardURL . url_maker($exfile['index'], $Settings['file_ext'], "act=bsd", $Settings['qstr'], $Settings['qsep'], $prexqstr['index'], $exqstr['index']); ?> " title="Copyright Notice" /> <?php if ($Settings['showverinfo'] == "on") { ?> <link rel="Generator" href="<?php echo $iDBHome; ?> " title="<?php echo $VerInfo['iDB_Ver_Show']; ?> " /> <?php } if ($Settings['showverinfo'] != "on") {