( ′∀`)σ≡σ☆))Д′)レ(゚∀゚;)ヘ=З=З=Зε≡(ノ´_ゝ`)ノ HEX
HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux mail.thebrand.ai 6.8.0-107-generic #107-Ubuntu SMP PREEMPT_DYNAMIC Fri Mar 13 19:51:50 UTC 2026 x86_64
User: www-data (33)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: /var/www/html/tmpr/../tmpr/../tmpr/../tmpr/../tmpr/../tmpr/..//v/editreport.php
<?php
require("./NewsSql.inc.php");
$db = new NewsSQL($dbname);
page_protect();
$VideoPath = "uploads/live/";
$live_img = 'uploads/images/';	


 
 $newsid = $db->base64url_decode($newsid);

$result = $db->getnewsbyidr($newsid);
$catalogid = $result[0]["catalogid"];
$title = $result[0]["title"];
$content = $result[0]["content"];
$viewnum = $result[0]["viewnum"];
$rating = $result[0]["rating"];
$picture = $result[0]["picture"];
$ratenum = $result[0]["ratenum"];
$episodeid = $result[0]["episodeid"];
$slug = $result[0]["slug"];
$keywords = $result[0]["keywords"];
$isdisplay = $result[0]["isdisplay"];
$description = $result[0]["description"];
$vcat = $result[0]["vcat"];
$summary = $result[0]["summary"];
$video = $result[0]["video"];
$thumb= $result[0]["thumb"];

   

?>
<html>
<head>
<title><?php print "$admin_newsadmin"; ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="styles.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style4 {
	font-size: 11px
}
.style7 {font-size: 10px}
body,td,th {
	color: #FFF;
	font-family: Verdana, Geneva, sans-serif;
}
-->
</style><script language="JavaScript" type="text/javascript" src="js/jquery-1.3.2.min.js"></script>
<script language="JavaScript" type="text/javascript" src="js/jquery.validate.js"></script>
  <script>
  $(document).ready(function(){
    $("#myform").validate();
	
  });
  </script>
</head>
<body>

                <h3 class="titlehdr" style="color:#FFF"><br>
                Update your content</h3>
               
                  
<form action="datareports.php" name="myform" id="myform" method="POST" ENCTYPE="multipart/form-data"> <input type="hidden" name="newsid" value="<?php print "$newsid"; ?>">
                  <input type="hidden" name="catid" value="<?php print "$catid"; ?>">
<table width="245" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td align="center" valign="top"><table width="233" border="0" cellspacing="1" cellpadding="2">
<tr>
                            <td width="67"><span class="style4 style4 style4"><strong>Your Title</strong> :</span></td>
            <td colspan="2"><input name="mytitle" class="required" type="text"  id="mytitle" value="<?php  print "$title"; ?>" size="40"></td>
                          </tr>
                      
                          <tr>
                            <td><span class="style4"><strong>Description:</strong></span></td>
<td colspan="2"><span class="style4 style4 style4">
            <textarea name="content" style=" padding:2px;font-size:11px; width:350px; height:200px; font-family:Arial, Helvetica, sans-serif" cols="30" rows="10" class="required"><?php print "$content"; ?></textarea>
                              </span><span class="style7"><br>
                           Describe the above content<br></span></td>
                          </tr>
                          <tr>
                            <td colspan="3"><span class="style4 style4 style4">
                              <input type="hidden" name="catalogid" value="<? echo $_SESSION['euserid'];?>">
                              <input type="hidden" size="65" name="viewnum" value="<?php print "$viewnum"; ?>">
                              <input type="hidden" size="65" name="rating" value="<?php print "$rating"; ?>">
                              <input type="hidden" size="65" name="ratenum" value="<?php print "$ratenum"; ?>">
                              </span></td>
                          </tr>
                        
                       
                          <tr>
                            <td><span class="style4 style4 style4"><strong>Tags :</strong></span></td>
                            <td colspan="2"><input name="keywords" type="text" class="style4 style4" value="<?php print "$keywords"; ?>" size="40"> <span class="style7"><br>
                            Please Separate tags with commas<br>
                            Tags can include who,what,how about your content. e.g peters wedding,reception,...</span></td>
                          </tr>
                          
                          
                          
                           
                        
                        </table>
<br>

                       
                        <input name="editnewsr2" type="submit" class="large ezbutton green" style=" margin-top:2px;border:0px;width:105px; margin-right:5px" value="Update">
                      </td>
                    </tr>
                  </table>
</form>