예제 #1
0
function htm_tr($row)
{
    echo "<tr>";
    foreach ($row as $key => $val) {
        if (is_numeric($key)) {
            continue;
        }
        echo "<td><div>";
        switch ($key) {
            case 'jid':
            case 'jink':
                echo htm_img_jqw($val);
                break;
            case 'zid':
                echo htm_img_zid($val);
                break;
            case 'jmn':
                echo htm_img_hid($val);
                break;
            case 'jtoh':
                echo htm_img_hink($val);
                break;
            default:
                echo $val;
        }
        echo "</div></td>";
    }
    echo "</tr>\r\n";
}
예제 #2
0
function htm_tr($row)
{
    global $ut;
    echo "<tr>";
    foreach ($row as $key => $val) {
        if (is_numeric($key)) {
            continue;
        }
        echo "<td>";
        switch ($key) {
            //case 'idx':
            ///echo htm_fnt_jqw($val);
            //break;
            case 'jid':
                echo htm_fnt_jqw($val);
                //echo "</td><td><a>$val</a></td>";
                break;
            case 'jink':
                echo htm_fnt_jqw($val);
                //echo htm_img_jqw($val);
                break;
            case 'zid':
                echo htm_img_zid($val);
                break;
            case 'jmn':
                echo htm_img_hid($val);
                break;
            case 'jtoh':
                echo htm_img_hid($val);
                $ut->push2TmpArr($val);
                break;
            default:
                echo $val;
        }
        echo "</td>";
    }
    echo "</tr>\r\n";
}