Location: PHPKode > projects > Pointter PHP CMS > pointtercms_package/pointtercms_package/pointtercms/passwordconfirm.php

 * Product Name			: Pointter PHP Content Management System
 * Version 			: V 1.2
 * Release Date			: 01/02/11
 * Copyright			: (C) 2011 PangramSoft / Murat Cevik
 * Program URL			: http://www.pointter.com
 * Company URL			: http://www.pangramsoft.com
 * Email Address                : hide@address.com


Pointter PHP Content Management System is licensed under Creative Commons Attribution Non-commercial No Derivatives 3.0 Unported (by-nc-nd) License.
To view a copy of this license, (a) visit http://creativecommons.org/licenses/by-nc-nd/3.0/ or (b) send a letter to Creative Commons, 171 2nd Street, 
Suite 300, San Francisco, California, 94105, USA.” 

You must not remove/modify/alter the copyright informations both visible and invisible forms in the source code and you must not remove/modify/alter 
the copyright informations in the footer part of the script including the Pointter image (png format file), hard link and title tag.

Please contact the copyright holder PangramSoft / Murat Cevik for a commercial license to remove the copyright information in the footer part of the script.


if (isset($_COOKIE[tuser]) OR isset($_COOKIE[tpass]))

if ($_POST[emailaddress]=="")

include 'includes/settings_ini.php';
include 'includes/seo.php';

if ($member_onoff==0)
header ("location:index.php");

include 'configset/conn.php';

//Get Number Of Views
$prev=mysql_query("SELECT * FROM Views WHERE Url='passwordconfirm.php'");
$current=$prev_data[Number] + 1;

//Record New Number Of Views
mysql_query("UPDATE Views SET Number='$current' WHERE Url='passwordconfirm.php'");

//Get Total Number Of Views

$view_query=mysql_query("SELECT sum(Number) As TotalView FROM Views");



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<!--This website has been created by Pointter PHP Content Management System and copyrighted by PangramSoft / Murat Cevik. 
    Please visit http://www.pointter.com for a FREE DOWNLOAD.--> 

<html xmlns="http://www.w3.org/1999/xhtml">
<script type="text/javascript" src="javascript/clock.js"></script>
<script type="text/javascript" src="javascript/toggle.js"></script>
<link type="text/css" rel="stylesheet" href="clock.css"/>
<link type="text/css" rel="stylesheet" href="body.css"/>
<link type="text/css" rel="stylesheet" href="style.css"/>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-9"/>
<meta name="description" content="<?php echo $desc; ?>"/>
<meta name="keywords" content="<?php echo $meta; ?>"/>
<title><?php echo $title; ?></title>

<body onload="clock(),slide()">

<!--This Is The Main Table--> 

<table class="main" width="1030" align="center" cellspacing="0" cellpadding="0">

<!--This Is The Header Part--> 

<tr><td width="1030" colspan="3" align="center">
include 'header.php';
include 'includes/search.php';

<!--This Is The Left Column-->

<td width="215" valign="top" align="left">
include 'includes/column_left.php';

<!--This Is The Middle Column-->

<td width="600" valign="top" align="center">

<table cellpadding="10" style="background-image:url(pixel_3.png);width:580px;" align="center"><tr><td style="background-image:url(pixel_1.png);" class="header" align="left"><b>Forgot Password Confirmation</b></td></tr>



if(!filter_var($email_id, FILTER_VALIDATE_EMAIL))
echo '<br/><img src="siteicons/caution.png" align="left" alt="caution icon"/>&ensp;'." "."Please Enter A Valid Email Address!";

if(filter_var($email_id, FILTER_VALIDATE_EMAIL))

$characters="a b c d e f g h i j k l m n o p q r s t u v w x y z";
$numbers="0 1 2 3 4 5 6 7 8 9";
$generate_code=explode(" ",$characters);
$generate_pass=explode(" ",$numbers);

for ($i=0;$i<=3;$i++)

//Database Connection

include 'configset/conn.php';


$confirm=mysql_query("SELECT * FROM Members WHERE EmailAddress='$email_id'");


if ($count==1)

mysql_query("UPDATE Members SET Password='$finalcode_encrypted' WHERE EmailAddress='$email_id'");

echo '<br/><img src="siteicons/success.png" align="left" alt="success icon"/>&ensp;'." "."Your New Password Has Been Sent To: ".$email_id;

$message='Your new password is:'.$finalcode."\n\n";

$headers ='From:'.$s_mail. "\r\n" .
    'Reply-To:'.$s_mail. "\r\n" .
    'X-Mailer: PHP/' . phpversion();

mail ($email_id,'Your New Password',$message,$headers);
echo '<br/><img src="siteicons/caution.png" align="left" alt="caution icon"/>&ensp;'." "."We Do Not Have A Registered Member With This Email Address!";





<!--This Is The Right Column--> 

<td width="215" valign="top" align="right">

include 'includes/column_right.php';

<!--This Is The Footer Part-->

</tr><tr><td width="1030" colspan="3" align="center">
include 'footer.php';

<!--End Of Table-->


<table style="color:#272727;font-family:'Helvetica';font-size:8pt;border-width:1px;border-style:solid;border-top-style:none;border-color:#023f6a;width:1030px;height:30px;" align="center" cellspacing="0" cellpadding="5"><tr><td align="right">
<?php echo "Copyright".'&ensp;'."©".'&ensp;'.date(Y).'&ensp;'."PangramSoft"; ?><a href="http://www.pointter.com" title="Pointter PHP Content Management System"><img src="siteicons/pointter_icon.png" border="0" align="right" alt="pointter icon"/></a></td></tr></table>

Return current item: Pointter PHP CMS