home
/
uttpolic
/
web
/
uttpolice-coop.com
/
public_html
➕ New
📤 Upload
✎ Editing:
newsdetail.php
← Back
<?php include("layout/header.php"); $news_id= $_GET['news_id']; $sql_news = "SELECT * FROM utt_news WHERE news_id = '$news_id'"; $q_news= mysqli_query($con,$sql_news); $r_news = mysqli_fetch_array($q_news); ?> <articles> <section> <div class="wrapper"> <div class="container"> <div class="toppic"> <h1><?php echo $r_news['news_header'];?></h1> </div> <div class="panel panel-default"> <div class="panel-body" style = "font-size:15px;"> <div class = "row"> <div class = "col-md-4"> <?php if($r_news['news_img_cover']){?><img src = "<?php echo $base_url;?>images/news/<?php echo $r_news['news_img_cover'];?>"><?php } ?> </div> <div class = "col-md-8"> <?php echo $r_news['news_detail'];?> <br><br> <h2>เอกสารแนบ</h2> <br> <?php if($r_news['news_file1']){?> <a href = "<?php echo $base_url;?>files/<?php echo $r_news['news_file1'];?>" target = "_BLANK"><i class="fas fa-download" ></i> ไฟล์ 1 </a><?php } ?> <?php if($r_news['news_file2']){?> <a href = "<?php echo $base_url;?>files/<?php echo $r_news['news_file2'];?>" target = "_BLANK"><i class="fas fa-download" ></i> ไฟล์ 2 </a><?php } ?> <?php if($r_news['news_file3']){?> <a href = "<?php echo $base_url;?>files/<?php echo $r_news['news_file3'];?>" target = "_BLANK"><i class="fas fa-download" ></i> ไฟล์ 3 </a><?php } ?> </div> </div> </div> </div> </div><!--end container--> </div> </section> </articles> <?php include("layout/footer.php")?> </body> </html>
💾 Save Changes
Cancel
📤 Upload File
×
Select File
Upload
Cancel
➕ Create New
×
Type
📄 File
📁 Folder
Name
Create
Cancel
✎ Rename Item
×
Current Name
New Name
Rename
Cancel
🔐 Change Permissions
×
Target File
Permission (e.g., 0755, 0644)
0755
0644
0777
Apply
Cancel