www
/
wwwroot
/
magazinmiorita.be
/
admin
➕ New
📤 Upload
✎ Editing:
barcode_gen.php
← Back
<?php include('../includes/inc.config.php'); include('check_session.php'); if(isset($_POST['add'])){ $code = htmlentities($_POST['code'], ENT_QUOTES); $name = htmlentities($_POST['name'], ENT_QUOTES); $add_code = $database->execute("INSERT INTO `barcodes` (`code`, `name`) VALUES ('$code', '$name')"); if(add_code){ header('Location: barcode_gen.php?m=ok'); exit; }else{ $smarty->assign("type", 'err'); $smarty->assign("message", 'Page can not be created! Please check and try again.'); } } $smarty->display(END_PATH.'barcode_gen.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