"PHP" / Говнокод #12922 Ссылка на оригинал

0

  1. 1
  2. 2
  3. 3
  4. 4
if($line['orderstatus']==0) echo '<td title="Статус" bgcolor="red"><a href="/admin/changeorderstatus2.php?id='.$line['id'].'&sortorder='.$sortorder.'&start='.$start.'" class="gallery4">в обработке</a></td>';
if($line['orderstatus']==1) echo '<td title="Статус" bgcolor="yellow"><a href="/admin/changeorderstatus2.php?id='.$line['id'].'&sortorder='.$sortorder.'&start='.$start.'" class="gallery4">Не оплачен, отправлен</a></td>';
if($line['orderstatus']==2) echo '<td title="Статус" bgcolor="cyan"><a href="/admin/changeorderstatus2.php?id='.$line['id'].'&sortorder='.$sortorder.'&start='.$start.'" class="gallery4">Оплачен, отправлен</a></td>';
if($line['orderstatus']==3) echo '<td title="Статус" bgcolor="lightgreen"><a href="/admin/changeorderstatus2.php?id='.$line['id'].'&sortorder='.$sortorder.'&start='.$start.'" class="gallery4">Оплачен, получен</a></td>';

Запостил: rockstar rockstar, (Updated )

Комментарии (0) RSS

Добавить комментарий

Из-за тебя ушел bormand, guest!

    А не использовать ли нам bbcode?


    8