Server IP : 108.163.255.210 / Your IP : 18.118.208.127 Web Server : Apache System : Linux blossom.urlnameserver.com 3.10.0-1160.80.1.el7.x86_64 #1 SMP Tue Nov 8 15:48:59 UTC 2022 x86_64 User : ( 1172) PHP Version : 7.2.34 Disable Function : eval,escapeshellarg,proc_close,proc_get_status,proc_nice,proc_open,symlink,system,pcntl_exec,getrusage,chown,chgp,closelog,openlog,syslog,define_syslog_variables,php_ini_loaded_file,getservbyname,getservbyport,posix_getgid,posix_getgrgid,proc_terminate,pfsockopen,apache_child_terminate,posix_mkfifo,posix_setpgid,posix_setuid,hypot,pg_host,pos,posix_access,posix_getcwd,posix_getservbyname,myshellexec,getpid,posix_getsid,posix_isatty,posix_kill,posix_mknod,posix_setgid,posix_setsid,posix_setuid,posix_times,posix_uname,ps_fill,posix_getpwuid,global,ini_restore,zip_open,zip_read,rar_open,bzopen,bzread,bzwrite,apache_get_modules,apache_get_version,phpversionphpinfo,php_ini_scanned_files,get_current_user,disk_total_space,diskfreespace,leak,imap_list,hypo,filedump,safe_mode,getmygid,apache_getenv,apache_setenv,bzread,bzwrite,bzopen,phpini,higlight_file,dos_conv,get_cwd,er_log,cmd,e_name,vdir,get_dir,only_read,ftok,ftpexec,posix_getpwnam,mysql_list_dbs,disk_free_space,session_save_path,confirm_phpdoc_compiled,zip_entry_rea,php_u,psockopen,crack_opendict,crack_getlastmessage,crack_closedict,crack_check,fpassthru,posix_get_last_error,posix_getlogin,posix_getgroups,posix_strerror,posix_getrlimit,posix_getpgrp,posix_getgrnam,pos,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/unilinki/www/binarygains.in/developer1/ |
Upload File : |
<?php include("config/error.php"); if(!(isset($_SESSION['profileid'])) && !(isset($_SESSION['userid']))) { header("location:index.php"); echo "<script>window.location='index.php'</script>"; } if(isset($_REQUEST['submit'])) { $email=addslashes($_REQUEST['email']); $user_type=addslashes($_REQUEST['type']); $user_pid=addslashes($_REQUEST['pfid']); $sub=addslashes($_REQUEST['subject']); $msgg=addslashes($_REQUEST['messaggge']); $toqry=mysql_fetch_array(mysql_query("select * from mlm_register where user_profileid='$user_pid'")); if($user_pid=="") { $user_pid="Admin"; } $qry=mysql_query("insert into mlm_outbox set outbox_userid='$_SESSION[userid]',outbox_profileid='$_SESSION[profileid]', outbox_toupid='$toqry[user_id]',outbox_toprofileid='$user_pid',outbox_usertype='$user_type',outbox_fromemail='$email',outbox_toemail='$toqry[user_email]',outbox_subject='$sub',outbox_message='$msgg', outbox_date=NOW()"); if($qry) { header("location:compose.php?succ"); echo "<script>window.location='compose.php?succ';</script>"; } } include("includes/head.php"); ?> <script type="text/javascript" src="tinymce/jscripts/tiny_mce/tiny_mce.js"></script> <script type="text/javascript"> tinyMCE.init({ // General options mode : "textareas", theme : "advanced", plugins : "pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,wordcount,advlist,autosave", // Theme options theme_advanced_buttons1 : "save,newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,styleselect,formatselect,fontselect,fontsizeselect", theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor|,insertdate,inserttime,preview,|,forecolor,backcolor", theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,emotions,iespell,media,advhr,|,print,|,ltr,rtl,", theme_advanced_buttons4 : "insertlayer,moveforward,movebackward,absolute,|,styleprops,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,template,pagebreak,restoredraft|,fullscreen,image,cleanup,help,code,", theme_advanced_toolbar_location : "top", theme_advanced_toolbar_align : "left", theme_advanced_statusbar_location : "bottom", theme_advanced_resizing : true, // Example content CSS (should be your site CSS) content_css : "css/content.css", // Drop lists for link/image/media/template dialogs template_external_list_url : "lists/template_list.js", external_link_list_url : "lists/link_list.js", external_image_list_url : "lists/image_list.js", media_external_list_url : "lists/media_list.js", // Style formats style_formats : [ {title : 'Bold text', inline : 'b'}, {title : 'Red text', inline : 'span', styles : {color : '#ff0000'}}, {title : 'Red header', block : 'h1', styles : {color : '#ff0000'}}, {title : 'Example 1', inline : 'span', classes : 'example1'}, {title : 'Example 2', inline : 'span', classes : 'example2'}, {title : 'Table styles'}, {title : 'Table row 1', selector : 'tr', classes : 'tablerow1'} ], // Replace values for the template plugin template_replace_values : { username : "Some User", staffid : "991234" } }); </script> <script> function typval(val) { if(val=="2") { document.getElementById('pval').style.display='block'; } else { document.getElementById('pval').style.display='none'; } } </script> <script> function composseval() { if(document.getElementById('subject').value!="") { //alert(document.getElementById('message').value); tinyMCE.triggerSave(); if(document.getElementById('messaggge').value=="") { alert("please enter the message"); document.getElementById('messaggge').focus(); return false; } } } </script> <link href="css/deactive.css" rel="stylesheet" type="text/css" /> </head> <body> <div class="container main"> <!-- Start Header--> <?php include("includes/header.php"); ?> <!-- End Header--> <!-- Start Navigation --> <?php include("includes/menu.php"); ?> <!-- End Navigation --> <hr /> <!-- Profile info --> <?php include("includes/profileheader.php"); ?> <!-- Profile info end --> <hr /> <div class="row"> <?php include("includes/mailmenu.php"); ?> <div class="col-sm-9"> <div class="row"> <div class="col-sm-12"> <div class="banner" style="padding-right: 0;"> <h4 class="navbar-inner" style="color:#000; line-height:40px; margin-top: -50px; margin-bottom: 7px;">Compose Mail</h4> <form action="" method="post" onClick="return composseval();"> <table class="table new_tbl2" cellpadding="7" cellspacing="0" border="0" width="100%"> <?php if(isset($_REQUEST['succ'])) { ?> <tr> <td colspan="3" align="center" style="color:#006633; font-weight:bold;"> Message Sent Successfully !!! </td> </tr> <?php } ?> <tr> <td colspan="3"> <table> <td width="" > <strong>User Type</strong></td> <td width="15">:</td> <td width=""> <input type="radio" name="type" id="type1" value="1" onClick="typval('1');" required="true";> Admin <input type="radio" name="type" id="type2" value="2" onClick="typval('2');" required="true";> User </td></table></td> </tr> <tr> <td colspan="3"> <table id="pval" style="display:none;"> <td width="100"> <strong>User Profileid</strong> </td> <td width="15">:</td> <td width="740"> <input type="text" name="pfid" id="pfid" class="form-control" /> </td></table></td> </tr> <tr> <td align="right"> <strong>Subject</strong> </td> <td align="center">:</td> <td> <input type="text" name="subject" id="subject" class="form-control" required="true";/> </td> </tr> <tr> <td align="right"> <strong>Message</strong> </td> <td align="center">:</td> <td> <textarea name="messaggge" id="messaggge" rows="10" class="form-control" ></textarea> </td> </tr> <input type="hidden" name="email" id="email" value="<?php echo $userdetail['user_email']; ?>"> <tr> <td colspan="3" align="center"> <button type="submit" name="submit" class="greenbtn">SEND</button> </td> </tr> </table> </form> </div> </div> </div> <br /> </div> </div> <?php include("includes/footer.php"); ?> </div> <script src="js/jquery.js"></script> <script src="js/bootstrap.js"></script> </body> </html>