" title="Change Currency to GBP"><img src="<?php echo SITE_URL; ?> images/common/flag3.png" alt="GBP"></a> <a href="<?php echo !empty($_SESSION['currency']) && $_SESSION['currency'] == 'USD' ? '#' : SITE_URL . 'change_currency.php?q=USD&s=$&t=' . getCurrentPageUrl(); ?> " title="Change Currency to USD"><img src="<?php echo SITE_URL; ?> images/common/us-flag.png" alt="USD" /></a> <a href="<?php echo !empty($_SESSION['currency']) && $_SESSION['currency'] == 'EUR' ? '#' : SITE_URL . 'change_currency.php?q=EUR&s=€&t=' . getCurrentPageUrl(); ?> " title="Change Currency to EUR"><img src="<?php echo SITE_URL; ?> images/common/europe-flag.png" alt="EUR" /></a> </div> </div> <?php if (empty($_SESSION['id'])) { ?> <div class="menu-row"> <nav class="navbar navbar-inverse"> <div class="navbar-header">
} } else { $fi2 = $config['mdir'] . "/" . $tfpp; do_resize_image($fimage, "192", "192", false, $fi2); $fi3 = $config['mdir'] . "/thumbs/" . $tfpp; do_resize_image($fimage, "50", "50", false, $fi3); if (file_exists($config['mdir'] . "/o/" . $tfpp)) { $query = "UPDATE members SET profilepicture='{$tfpp}' WHERE USERID='" . mysql_real_escape_string($userid) . "'"; $conn->execute($query); $_SESSION['PP'] = $tfpp; } } } //add pics header("Location:{$config['baseurl']}/connect.php"); exit; } } } } } if ($_SESSION['USERNAME'] == "" && $_SESSION['FB'] == "1") { $url = getCurrentPageUrl(); $myurl = $config['baseurl'] . "/connect.php"; if ($url != $myurl) { header("Location:{$config['baseurl']}/connect.php"); exit; } } } }
/** * Get all debug information as an object. * * @return object */ public static function getDebugData() { // Collect debug information. $data = (object) array('timestamp' => DateTime::formatTimestamp('Y-m-d H:i:s', \RX_TIME), 'url' => getCurrentPageUrl(), 'request' => (object) array('method' => $_SERVER['REQUEST_METHOD'] . ($_SERVER['REQUEST_METHOD'] !== \Context::getRequestMethod() ? ' (' . \Context::getRequestMethod() . ')' : ''), 'size' => intval($_SERVER['CONTENT_LENGTH'])), 'response' => (object) array('method' => \Context::getResponseMethod(), 'size' => \DisplayHandler::$response_size), 'timing' => (object) array('total' => sprintf('%0.4f sec', microtime(true) - \RX_MICROTIME), 'template' => sprintf('%0.4f sec (count: %d)', $GLOBALS['__template_elapsed__'], $GLOBALS['__TemplateHandlerCalled__']), 'xmlparse' => sprintf('%0.4f sec', $GLOBALS['__xmlparse_elapsed__']), 'db_query' => sprintf('%0.4f sec (count: %d)', $GLOBALS['__db_elapsed_time__'], count(self::$_queries)), 'db_class' => sprintf('%0.4f sec', $GLOBALS['__dbclass_elapsed_time__'] - $GLOBALS['__db_elapsed_time__']), 'layout' => sprintf('%0.4f sec', $GLOBALS['__layout_compile_elapsed__']), 'widget' => sprintf('%0.4f sec', $GLOBALS['__widget_excute_elapsed__']), 'remote' => sprintf('%0.4f sec', $GLOBALS['__remote_request_elapsed__']), 'trans' => sprintf('%0.4f sec', $GLOBALS['__trans_content_elapsed__'])), 'entries' => self::$_entries, 'errors' => self::$_errors, 'queries' => self::$_queries, 'slow_queries' => self::$_slow_queries, 'slow_triggers' => self::$_slow_triggers, 'slow_widgets' => self::$_slow_widgets, 'slow_remote_requests' => self::$_slow_remote_requests); // Clean up the backtrace. foreach (array('entries', 'errors', 'queries', 'slow_queries', 'remote_requests', 'slow_remote_requests') as $key) { if (!$data->{$key}) { continue; } foreach ($data->{$key} as &$entry) { if (isset($entry->file)) { $entry->file = self::translateFilename($entry->file); } if (isset($entry->backtrace) && is_array($entry->backtrace)) { foreach ($entry->backtrace as &$backtrace) { $backtrace['file'] = self::translateFilename($backtrace['file']); unset($backtrace['object'], $backtrace['args']); } } } } return $data; }
<form action="<?php echo getUrl('', 'act', 'procMemberLogin'); ?> " method="post" autocomplete="off"><input type="hidden" name="error_return_url" value="<?php echo htmlspecialchars(getRequestUriByServerEnviroment(), ENT_COMPAT | ENT_HTML401, 'UTF-8', false); ?> " /><input type="hidden" name="mid" value="<?php echo $__Context->mid; ?> " /><input type="hidden" name="vid" value="<?php echo $__Context->vid; ?> " /> <input type="hidden" name="act" value="procMemberLogin" /> <input type="hidden" name="success_return_url" value="<?php echo getCurrentPageUrl(); ?> " /> <input type="hidden" name="xe_validator_id" value="layouts/xedition/layout/1" /> <fieldset> <legend class="blind"><?php echo $__Context->lang->cmd_login; ?> </legend> <div class="control-group"> <div class="group"> <input type="text" name="user_id" id="uemail" required="true" /> <span class="highlight"></span> <span class="bar"></span> <label class="info_label" for="uemail"><?php echo $__Context->lang->user_id;
/************************************************************************************************** | PinMe Script by Scriptolution.com | http://www.pinmescript.com | webmaster@pinmescript.com | |************************************************************************************************** | | By using this software you agree that you have read and acknowledged our End-User License | Agreement available at http://www.pinmescript.com/eula.html and to be bound by it. | | Copyright (c) PinMeScript.com. All rights reserved. |**************************************************************************************************/ include "include/config.php"; include "include/functions/import.php"; $thebaseurl = $config['baseurl']; $tpage = getCurrentPageUrl(); $thes = substr($tpage, -3); STemplate::assign('pinpage', "1"); $pkey = cleanit($_REQUEST['PID']); $query = "select A.PID, A.ptitle, A.pic, A.pkey, A.price, A.youtube, A.REPIN, A.REPID, A.time_added, A.source, A.OUSERID, B.USERID, B.username, B.fname, B.lname, B.profilepicture, C.bname, C.BID, C.pincount from posts A, members B, boards C WHERE A.active='1' AND A.USERID=B.USERID AND A.BID=C.BID AND A.pkey='" . mysql_real_escape_string($pkey) . "' AND B.status='1' limit 1"; $results = $conn->execute($query); $pins = $results->getrows(); STemplate::assign('pins', $pins[0]); STemplate::assign('pagetitle', stripslashes($pins[0]['ptitle'])); $PID = intval($pins[0]['PID']); $BID = intval($pins[0]['BID']); $USERID = intval($pins[0]['USERID']); $OUSERID = intval($pins[0]['OUSERID']); $username = $pins[0]['username']; $fname = $pins[0]['fname']; $lname = $pins[0]['lname'];