session_start();
/*******************************************************************************************************
* InfoWizards Reciprocal Link Systems PRO Ver 2.0
* IF you have any problems or questions please email us at support@infowizards.com
* This software is proprietary and not for distribution or sale without written consent from the authors.
* We reserve all rights to any coding you may find in this software © Information Management Services, LLC.
* DBA InfoWizards, 2004
*
* NOTE: Your web host must have PHP 4.3 or later to run this software! If you intend on using the
* "Search Engine Friendly URLs" You must have mod_rewrite enabled in your servers Apache configuration.
* This copy is for use on ONE domain only. This domain was specified during purchase. Additional domain
* licenses will be or have been issued for use on any 'other' domains. This copy has been encrypted and will
* remotely send us notification if it is being used on any other UNLICENSED domain. We have the right
* to 'remotely' disable this software if we see any versions being used on any un-licensed domains.
*********************************************************************************************************/
// Ensure we have GET and POST vars correctly
if (!isset($_POST)) {
$_POST = &$HTTP_POST_VARS;
}
if (!isset($_GET)) {
$_GET = &$HTTP_GET_VARS;
}
// Read variables from GET variables
if ($_GET['sendlogin']<>"") {
$sendlogin = $_GET['sendlogin'];
}
// Read variables from POST variables
if ($_POST['sendlogin']<>"") {
$sendlogin = $_POST['sendlogin'];
}
if (isset($sendlogin)){
include("inc/maincommon.php");
////////////////send the email//////////////////////////////////////////////////
$sql = sprintf("SELECT * FROM `member_info` WHERE `%s` = '%s'",
mysql_real_escape_string($memberEmail),
mysql_real_escape_string($sendlogin));
$logininfo = mysql_query("$sql");
while ($row = mysql_fetch_array($logininfo)){
$memberEmail = $row['memberEmail'];
$memberLogin = $row['memberLogin'];
$memberPass = $row['memberPass'];
}
if ($sendlogin != $memberEmail){
echo "Sorry that email was not found in our system.";
exit;
}
$message = "
You may use the following to log in and edit your listings at $appURL/login.php .
Your login is $memberLogin
your password is $memberPass
";
mail ( "$memberEmail", "$subject", $message, "From: $email" );
echo "
Sent login information to: ".$memberEmail."
";
}
/////////////////////////////////////////////////////////////////////////////////
if ($loginset == "set"){
header("Location: show_user_listing.php");
}
if (!isset($memberlogin) && !isset($memberpassword)){
$memberlogin = $_POST['memberLogin'];
$memberpassword = $_POST['memberPass'];
}
if (isset($memberlogin) && isset($memberpassword)){
/********************************************************************************************************************/
include ("inc/maincommon.php");
$sql = sprintf("SELECT * FROM `member_info` WHERE `memberLogin` = '%s' and memberPass = '%s'",
mysql_real_escape_string($memberLogin),
mysql_real_escape_string($memberpassword));
$memberinfo = mysql_query("$sql");
while ($row = mysql_fetch_array($memberinfo, MYSQL_ASSOC)) {
$sqlmemberLogin = $row["memberLogin"];
$sqlmemberPass = $row["memberPass"];
}
if (($sqlmemberLogin == $memberlogin) && ($sqlmemberPass == $memberpassword)){
session_register("loginset");
session_register("memberlogin");
session_register("memberpassword");
$loginset = "set";
header("Location: show_user_listing.php");
}else {
echo "ACCESS DENIED! Please try again.";
}
/**********************************************************************************************************************/
}
include ("inc/common.php");
include("inc/header-inc.php");
?>
|
Notice: Undefined variable: staticType in /var/www/vhosts/com/labbs/www/linkexchange/login.php on line 129
///////////find categories////////////////////////////////////
while ($catrows = mysql_fetch_array($catCount, MYSQL_ASSOC)) {
$category = $catrows["cat_name"];
$catNo = $catrows["cat_id"];
echo " ".$category." ";
//////////find sub categories//////////////////////////////
$subcatsql = mysql_query("SELECT * FROM subcategories WHERE catNo ='$catNo' ORDER BY `subName` ASC");
while ($subcatrow = mysql_fetch_array($subcatsql, MYSQL_ASSOC)){
$subcategory = $subcatrow["subName"];
$subNo = $subcatrow["subNo"];
echo "• ".$subcategory." ";
}
}
?>
|
|
|
YOU MUST LOGIN TO USE
THIS SECTION. |
|
NOTE: YOU MUST HAVE COOKIES ENABLED!!!
Lost your password? Enter your email below to retrieve it.
|
|
|
|
include("inc/footer-inc.php");
?>