403Webshell
Server IP : 103.48.194.25  /  Your IP : 216.73.217.33
Web Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.33
System : Linux VMHostDefault 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64
User : sieuthimay ( 1016)
PHP Version : 8.2.20
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/nhadatkhangdien.net-bk/public_html/admin/templates/tintuc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/nhadatkhangdien.net-bk/public_html/admin/templates/tintuc/item_add_tpl.php
<style type="text/css">
.w500 {
	width:500px;
}
.w700 {
	width:700px;
}
</style>
<h3>Tin tức</h3>
<form name="frm" method="post" action="index.php?com=tintuc&act=save" enctype="multipart/form-data" class="nhaplieu">
    <input type="hidden" name="id" id="id" value="<?=@$item['id']?>" />
    <table border="0" cellspacing="0" cellpadding="5">
        <tr>
            <td width="12%"><b>Danh mục </b></td>
            <td width="36%"><?=op_new_item()?></td>
            <td width="52%">&nbsp;</td>
        </tr>
        <!--<tr>
            <td valign="top"><b>Banner top:</b></td>
            <td colspan="2">
            <? //if($item['photo2'] && file_exists(_upload_tintuc.$item['photo2'])){?>
                <img src="<?//=_upload_tintuc.$item['photo2']?>" height="120px" />
            <? //} ?>
            </td>
        </tr>
        <tr>
            <td>&nbsp;</td>
            <td><input type="file" name="file2" /></td>
            <td><?//=_product_type?> width:1349px - height: 265px</td>
        </tr>-->
        <tr>
            <td><b>Ảnh đại diện</b></td>
            <td>
            <? if(isset($item['photo']) && file_exists(_upload_tintuc.$item['photo'])){?>
            	<img src="<?=_upload_tintuc.$item['photo']?>" width="150"/>
            <? } ?>
            </td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td>&nbsp;</td>
            <td><input type="file" name="file" /></td>
            <td>width:475px - height:350px  <?=_news_type?></td>
        </tr>
        <tr>
            <td><b>Tiêu đề</b></td>
            <td colspan="2"><input type="text" name="ten" value="<?=@$item['ten']?>" class="w700 input" /></td>
        </tr>
        <tr>
            <td><b>Mô tả</b></td>
            <td colspan="2"><textarea name="mota" rows="5" class="w700" id="mota"><?=@$item['mota']?></textarea></td>
        </tr>
        <tr>
            <td valign="top"><b>Nội dung</b></td>
            <td colspan="2"><textarea name="noidung" id="noidung"><?=@$item['noidung']?></textarea></td>
        </tr>
        <tr>
            <td><b>Description </b></td>
            <td colspan="2"><textarea type="text" class="w700" rows="5" name="description" ><?=@$item['description']?></textarea></td>
        </tr>
        <tr>
            <td><b>Keyword</b></td>
            <td colspan="2"><textarea type="text" class="w700" rows="5" name="keyword" ><?=@$item['keyword']?></textarea></td>
        </tr>
        <tr>
            <td><b>Số thứ tự</b></td>
            <td><input type="text" name="stt" value="<?=@$item['stt']?>"></td>
            <td>Nổi bật 
            <input type="checkbox" name="tinnoibat" value="1" <?=@$item['tinnoibat']==1? 'checked="checked"' : ''?>></td>
        </tr>
        <tr>
            <td><b>Hiển thị</b></td>
            <td><input type="checkbox" name="hienthi" value="1" <?=@$item['hienthi']==1?'checked="checked"':''?>></td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td>&nbsp;</td>
            <td><input type="submit" value="Lưu" class="btn" /><input type="button" value="Thoát" onclick="javascript:window.location='index.php?com=tintuc&act=man'" class="btn" /></td>
            <td>&nbsp;</td>
        </tr>
    </table>
</form>
<script type="text/javascript">
	tinyMCE.init({
		mode : "exact",
        elements : "noidung",
		theme : "advanced",
		convert_urls : false,
		plugins : "autolink,lists,pagebreak,style,layer,table,save,advhr,advimage,imagemanager,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,wordcount,advlist,autosave,visualblocks",
height:"500px",
    width:"85%",
	remove_script_host : false,

		// 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,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,|,insertdate,inserttime,preview,|,forecolor,backcolor",
		theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,emotions,iespell,media,advhr,|,print,|,ltr,rtl,|,fullscreen",		
		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>

Youez - 2016 - github.com/yon3zu
LinuXploit