- 1
- 2
- 3
- 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>';