switch($rs['status_order']){
case 1: // do 1
echo <<<HTML
<TR>
<TD><A HREF="admin_order_view.php?id_order=$id_order" TARGET="_blank"><center>$code_order</center></A></TD>
<TD><center>$date_order</center></TD>
<TD><CENTER>$status_order</CENTER></TD>
<TD><A HREF="admin_order_delete.php?id_order=$id_order"
onclick="return confirm('ยืนยันลบใบสั่งซื้อสินค้า $code_order ออกจากระบบ')">[ลบ]</A></TD>
</TR>
HTML;
break;
case 2: // do 2
break;
case 3: // do 3
break;
case 4: // do 4
break;
case 5: // do 5
break;
}