Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
"<?=" -> "<?php echo" "foreach(){}" -> "foreach(): endforeach;" for better compatibility with php5 controllers,models: all messages stores in /messages/msg Signed-off-by:d1ffuz0r <ап@10.65.197.35>
- Loading branch information
d1ffuz0r
committed
Feb 27, 2011
1 parent
28ec331
commit da2fda3
Showing
28 changed files
with
130 additions
and
107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
RewriteEngine on | ||
RewriteCond $1 !^(index\.php|img|style\.css|jquery\.js|slider\.css|robots\.txt) | ||
RewriteRule ^(.*)$ /index.php/$1 [L] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?php defined('SYSPATH') or die('No direct script access.'); | ||
|
||
return array( | ||
'no_access' => 'Ваш уровень доступа не позволяет просматрвать эту страницу', | ||
'bye' => 'До свидания!', | ||
'auth_success' => 'Добро пожаловать! Вы авторизированы.', | ||
'auth_error' => 'Ошибка. введите правильный логин или пароль', | ||
'reg_error' => 'Ошибка. такой логин уже существует', | ||
'reg_success' => 'Добро пожаловать! Вы зарегистрированы.', | ||
'not_login' => 'Ощибка. Вы не авторизованы!', | ||
'empty_field' => 'Вы не заполнили все поля', | ||
'empty_search' => 'Вы не заполнили поле поиска', | ||
'order_access' => 'Заказ принят', | ||
'order_denied' => 'Заказ отклонён', | ||
'order_add' => 'Ваш заказ принят.<br>Просмотреть заказы можно на странице <a href="/orders">Заказы</a>' | ||
|
||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
<h1>Менеджер заказов</h1> | ||
<hr> | ||
<h2> | ||
<? foreach ($list as $l) { ?> | ||
id:<?=$l->ord_id ?> | дата:<?=$l->ord_date ?> | товар:<a href="/view/product/<?=$l->ord_product ?>"><?=$l->ord_product ?></a> сумма: <?=$l->ord_price?> р. | статус:<? if($l->ord_status == 1 ) { echo 'в рассмотрении'; } else {echo '<a style="color:red;">отказано</a>';}?><br> | ||
<? foreach ($list as $l) : ?> | ||
id:<?php echo $l->ord_id ?> | дата:<?php echo $l->ord_date ?> | товар:<a href="/view/product/<?php echo $l->ord_product ?>"><?php echo $l->ord_product ?></a> сумма: <?php echo $l->ord_price?> р. | статус:<? if($l->ord_status == 1 ) { echo 'в рассмотрении'; } else {echo '<a style="color:red;">отказано</a>';}?><br> | ||
О заказщике:<br> | ||
Имя:<?=$l->ord_realname ?><br> | ||
Фамилия:<?=$l->ord_family ?><br> | ||
Отчество:<?=$l->ord_ot4estvo ?><br> | ||
Телефон:<?=$l->ord_telephone ?><br> | ||
e-mail:<?=$l->ord_email ?><br> | ||
Страна:<?=$l->ord_country ?><br> | ||
Регион:<?=$l->ord_region ?><br> | ||
Город:<?=$l->ord_city ?><br> | ||
Индекс:<?=$l->ord_postindex ?><br> | ||
<p align="right"><a href="/shop/order_y/<?=$l->ord_id ?>">принять</a> | <a href="/shop/order_n/<?=$l->ord_id ?>">отказать</a></p> | ||
Имя:<?php echo $l->ord_realname ?><br> | ||
Фамилия:<?php echo $l->ord_family ?><br> | ||
Отчество:<?php echo $l->ord_ot4estvo ?><br> | ||
Телефон:<?php echo $l->ord_telephone ?><br> | ||
e-mail:<?php echo $l->ord_email ?><br> | ||
Страна:<?php echo $l->ord_country ?><br> | ||
Регион:<?php echo $l->ord_region ?><br> | ||
Город:<?php echo $l->ord_city ?><br> | ||
Индекс:<?php echo $l->ord_postindex ?><br> | ||
<p align="right"><a href="/shop/order_y/<?php echo $l->ord_id ?>">принять</a> | <a href="/shop/order_n/<?php echo $l->ord_id ?>">отказать</a></p> | ||
<hr> | ||
<? }?> | ||
<? endforeach; ?> | ||
</h2> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
<h1>Ваши покупки</h1> | ||
<hr> | ||
<h2> | ||
<? foreach ($list as $l) { ?> | ||
id:<?=$l->ord_id?> | дата:<?=$l->ord_date ?> | товар:<a href="/view/product/<?=$l->ord_product ?>"><?=$l->ord_product ?></a> | статус: <? if($l->ord_status == 3 ) echo 'принято';?> | ||
<? foreach ($list as $l) : ?> | ||
id:<?php echo $l->ord_id?> | дата:<?php echo $l->ord_date ?> | товар:<a href="/view/product/<?php echo $l->ord_product ?>"><?php echo $l->ord_product ?></a> | статус: <? if($l->ord_status == 3 ) echo 'принято';?> | ||
<hr> | ||
<? }?> | ||
<? endforeach;?> | ||
</h2> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
<h1>Ваши заказы</h1> | ||
<hr> | ||
<h2> | ||
<? foreach ($list as $l) { ?> | ||
id:<?=$l->ord_id ?> | дата:<?=$l->ord_date ?> | товар:<a href="/view/product/<?=$l->ord_product ?>"><?=$l->ord_product ?></a> | статус:<? if($l->ord_status == 1 ) { echo 'в рассмотрении'; } else {echo '<a style="color:red;">отказано</a>';}?> | ||
<? foreach ($list as $l) : ?> | ||
id:<?php echo $l->ord_id ?> | дата:<?php echo $l->ord_date ?> | товар:<a href="/view/product/<?php echo $l->ord_product ?>"><?php echo $l->ord_product ?></a> | статус:<? if($l->ord_status == 1 ) { echo 'в рассмотрении'; } else {echo '<a style="color:red;">отказано</a>';}?> | ||
<hr> | ||
<? }?> | ||
<? endforeach; ?> | ||
</h2> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.