<?php
 include template("header"); ;echo '<div id="menu2"><a href="#">小菜单</a></div>
<div id="info" style="display:none">info</div>
<div id="data">
    <table>
        <thead><tr><th>序号</th><th>名称</th><th>发货地</th><th>目的地</th><th width="60">基础价</th><th width="60">续重价</th><th>操作</th></tr></thead>
        '; if(is_array($fare)){foreach($fare AS $index=>$one) { ;echo '        <form id="fare_modi" action="" method="post">
        <tr id="fare_'; echo $one['id']; ;echo '" onmouseover="cart_item_over(\'fare_'; echo $one['id']; ;echo '\')" onmouseout="cart_item_out(\'fare_'; echo $one['id']; ;echo '\')">
            <td>'; echo $one['express_id'] ;echo '</td>
            <td>'; echo $one['name'] ;echo '</td>
            <td>'; echo $one['source'] ;echo '</td>
            <td>'; echo $one['destination'] ;echo '</td>
            <td>'; echo $one['base'] ;echo '</td>
            <td>'; echo $one['add'] ;echo '</td>
            <td><a href="javascript:fare_modi('; echo $one['id'] ;echo ')">修改</a></td>
        </tr>
        </form>
        '; }} ;echo '        <form id="cat_add" action="" method="post">
        <tr>
            <td></td>
            <td><input name="name" /></td>
            <td><input name="source" /></td>
            <td><input name="destination" size="50" /></td>
            <td><input name="base" size="6" /></td>
            <td><input name="add" size="6" /></td>
            <td><input type="submit" value="添加" /></td>
        </tr>
        </form>

        <tr><td colspan="7">'; echo $pagestring; ;echo '</td></tr>
    </table>
</div>
<div id="fm">
    <h2>标题</h2>
    <form id="login-user-form" method="post" action="/account/login.php" class="validator">
    </form>
</div>
<div id="op">
    <h2>操作部分</h2>
</div>
<div id="help">help</div>
'; include template("footer"); ?>
