diff options
Diffstat (limited to 'html')
| -rw-r--r-- | html/app/models/user/Validate_model.php | 2 | ||||
| -rw-r--r-- | html/app/views/products_list.php | 47 |
2 files changed, 1 insertions, 48 deletions
diff --git a/html/app/models/user/Validate_model.php b/html/app/models/user/Validate_model.php index ec60d72..16ad70a 100644 --- a/html/app/models/user/Validate_model.php +++ b/html/app/models/user/Validate_model.php @@ -1,6 +1,6 @@ <?php -namespace app\models; +namespace app\models\user; use \Registry; diff --git a/html/app/views/products_list.php b/html/app/views/products_list.php deleted file mode 100644 index 1d9cf38..0000000 --- a/html/app/views/products_list.php +++ /dev/null @@ -1,47 +0,0 @@ -<style> - body { - max-width: 960px; width: 100%; margin: 0 auto; - font-family: Ubuntu, Calibri, Helevetica, sans-serif; - padding: 2em 1em; - } - td { - vertical-align: top; - padding: 2px; margin: .5em; - font-size: .82em; text-align: right; color: #666; - } - - h3 { color: #924; text-align: center; } - - .-edit { - text-align: left; font-size: 1em; - color: #357; background: #f6f6f6; - padding: .5em; - } - td span { font-size: .8em; color: #9249; } - - [contenteditable='true']:focus { border-radius: 3px; } - [contenteditable='true']:focus { - outline: none; - color: #924; - border: 2px solid #9249; border-top: 4px solid #9249; - } - -</style> - -<h3>— products —</h3> - -<?php foreach( $products as $product) : ?> - - <table> - <?php foreach ($product as $key => $val) : ?> - - <tr> - <td><?= $key ?><br/><span>int(11) NOT NULL</span></td> - <td class='-edit' id='<?=$key .'_'. $product['ID']?>' contenteditable="true"><?=$val?></td> - </tr> - - <?php endforeach ?> - </table> - <hr /> - -<?php endforeach ?> |
