www
/
wwwroot
/
magazinmiorita.be
/
admin
➕ New
📤 Upload
✎ Editing:
tranzactions.php
← Back
<?php include('../includes/inc.config.php'); include('check_session.php'); $set_view = $database->execute("UPDATE `tranzactions` SET `view` = '1'"); $tranzactions_results = array(); $tranzactions = $database->execute(" SELECT * FROM `tranzactions` "); while($row = $database->fetch($tranzactions)){ $tranzactions_results[] = $row; } if(isset($_GET['action']) && $_GET['action'] == 'delete'){ $del_Tranzaction = $database->execute("DELETE FROM `tranzactions` WHERE `id` = '".$_GET['id']."'"); if($del_Tranzaction){ $smarty->assign("type", 'succ'); $smarty->assign("message", 'Tranzaction deleted successfully!'); } } $smarty->assign("tranzactions", $tranzactions_results); $smarty->display(END_PATH.'tranzactions.tpl'); ?>
💾 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