One Hat Cyber Team
Your IP :
216.73.216.84
Server IP :
50.6.229.107
Server :
Linux server.hostburly.com 5.14.0-611.38.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Mar 10 17:21:28 EDT 2026 x86_64
Server Software :
Apache
PHP Version :
8.2.30
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
andjemzt
/
nportal.andjemztech.com
/
examAdmin
/
Edit File:
edit_doclink.php
<? $query = "SELECT * FROM ebooks WHERE bk_id='$bk_id' LIMIT 1"; $result = mysql_query($query); $num = mysql_num_rows($result); $row = mysql_fetch_array($result); $bk_id = $row["bk_id"]; $maincatid = $row["maincatid"]; $ref_no = $row["ref_no"]; $isbn_no = $row["isbn_no"]; $bk_no = $row["bk_no"]; $author = $row["author"]; $title = $row["title"]; $year_pub = $row["year_pub"]; $subjects = $row["subjects"]; $review = $row["review"]; $description = $row["description"]; $bk_content = $row["bk_content"]; $file_name = $row["file_name"]; $date_added = $row["date_added"]; $title = $row["title"]; $custom1 = $row["custom1"]; $custom2 = $row["custom2"]; $custom3 = $row["custom3"]; $custom4 = $row["custom4"]; $custom5 = $row["custom5"]; $custom6 = $row["custom6"]; $subjects = stripslashes($subjects); $review = stripslashes($review); $description = stripslashes($description); $bk_content = stripslashes($bk_content); $title= stripslashes($title); $author= stripslashes($author); $custom1 = stripslashes($custom1); $custom2 = stripslashes($custom2); $custom3 = stripslashes($custom3); $custom4 = stripslashes($custom4); $custom5 = stripslashes($custom5); $custom6 = stripslashes($custom6); $thiscatid = $maincatid; ?> <!-- tinyMCE --> <script language="javascript" type="text/javascript" src="../jscripts2/tiny_mce/tiny_mce.js"></script> <script language="javascript" type="text/javascript"> tinyMCE.init({ mode : "exact", theme : "advanced", elements : "bk_content", plugins : "table,save,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,zoom,flash,searchreplace,print,paste,directionality,fullscreen,noneditable,contextmenu", theme_advanced_layout_manager : "SimpleLayout", theme_advanced_buttons1 : "bold,italic,underline,separator,strikethrough,justifyleft,justifycenter,justifyright, justifyfull,bullist,numlist,tablecontrols,", theme_advanced_buttons2 : "fontselect,fontsizeselect,forecolor,pasteword,", theme_advanced_buttons3 : "", theme_advanced_toolbar_location : "top", theme_advanced_toolbar_align : "left", theme_advanced_path_location : "bottom", extended_valid_elements : "a[name|href|target|title|onclick],img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name],hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]", content_css : "example_full.css", plugin_insertdate_dateFormat : "%Y-%m-%d", plugin_insertdate_timeFormat : "%H:%M:%S", external_link_list_url : "example_link_list.js", external_image_list_url : "example_image_list.js", flash_external_list_url : "example_flash_list.js", file_browser_callback : "fileBrowserCallBack", paste_use_dialog : false, theme_advanced_resizing : true, theme_advanced_resize_horizontal : false, theme_advanced_link_targets : "_something=My somthing;_something2=My somthing2;_something3=My somthing3;" }); function fileBrowserCallBack(field_name, url, type, win) { // This is where you insert your custom filebrowser logic alert("Example of filebrowser callback: field_name: " + field_name + ", url: " + url + ", type: " + type); // Insert new URL, this would normaly be done in a popup win.document.forms[0].elements[field_name].value = "someurl.htm"; } </script> <!-- /TinyMCE --> <form action="update_doc.php" method="post" enctype="multipart/form-data" name="form1"> <input name="bk_id" type="hidden" id="bk_id" value="<? echo $bk_id ?>" size="35"> <table width="90%" border="0" align="center" cellpadding="5" cellspacing="0"> <tr> <td colspan="2"><strong>Edit An E-Document </strong></td> </tr> <tr> <td>Author's Name </td> <td><input name="author" type="text" id="author" value="<? echo $author ?>" size="35"></td> </tr> <tr> <td>Title</td> <td><input name="title" type="text" id="title" value="<? echo $title ?>" size="35"></td> </tr> <tr> <td>Year of Publication </td> <td><input name="year_pub" type="text" id="year_pub" value="<? echo $year_pub ?>" size="35"></td> </tr> <tr> <td>Review</td> <td><textarea name="review" cols="50" rows="8" id="review"><? echo $review ?></textarea></td> </tr> <tr> <td>Content (leave blank if not available) </td> <td><textarea name="bk_content" cols="60" rows="18" id="bk_content"><? echo $bk_content ?></textarea></td> </tr> <tr> <td>ISBN/ISSN etc No</td> <td><input name="isbn_no" type="text" id="isbn_no" value="<? echo $isbn_no ?>" size="35"></td> </tr> <tr> <td>Category/Subject</td> <td><? require ("pick_allcatedit.php") ?></td> </tr> <input name="custom1" type="hidden" value="no" > <tr> <td> </td> <td><input type="submit" name="Submit" value="Update Document"></td> </tr> <tr> <td> </td> <td> </td> </tr> </table> </form>
Simpan