?>
</small></td>
						   <td><small><?php 
        echo stripslashes($row["Mobile"]);
        ?>
</small></td>
                           <td><small><?php 
        echo getstate(stripslashes($row["State"]));
        ?>
</small></td>
                           <td><small><?php 
        echo getcities(stripslashes($row["City"]));
        ?>
</small></td>
                           <td><small><?php 
        echo getarea(stripslashes($row["Area"]));
        ?>
</small></td>
                           <td><input type='checkbox' name='linkID[]' value='<?php 
        echo $row["id"];
        ?>
'></td>
                           </tr>
 
	<?php 
    }
} else {
    echo "<tr><td colspan=6 align=center><h3 style='color:red;'>No records found!</h3><br><br></td><tr/></table>";
}
?>
 
                        echo "N/A";
                    }
                }
            }
            ?>
                </small></td>
                <td><small><?php 
            echo $row["company"];
            ?>
</small></td>
                <td><small><?php 
            echo $row["address"];
            ?>
</small></td>
                <td><small><?php 
            echo getarea($row["area"]);
            ?>
</small></td>
                <td><small><?php 
            echo getcities($row["city"]);
            ?>
</small></td>
                <td><small><?php 
            echo getstate($row["state"]);
            ?>
</small></td>
                <td><small><?php 
            echo $row["activationDate"];
            ?>
</small></td>
                <td><small><?php 
예제 #3
0
<TD width="24%">订单编号:</TD>
<TD width="76%">';
echo $id;
echo '</TD>
</tr>
<TR style="BACKGROUND-COLOR:#ffffff"  height=22 level="0">
<TD>会员编号:</TD>
<TD>';
echo $order_username;
echo '</TD>
</tr>
       <TR>
	  <TD valign="middle" bgColor="#FBFDFF" >详细收货地址:</TD>
	  <TD align="left" valign="middle" bgColor="#FBFDFF" >
     ';
$address = getprovince($u_res["province"]) . "-" . getcity($u_res["city"]) . "-" . getarea($u_res["area"]) . $u_res["address"];
echo $address;
echo '	 <input type="hidden" name="address" value="';
echo $address;
echo '">
	 </TD>
	  </TR>
     <TR>
	  <TD valign="middle" bgColor="#FBFDFF" >收货人:</TD>
	  <TD align="left" valign="middle" bgColor="#FBFDFF" >';
echo $u_res["receiver"];
echo '	  <input type="hidden" name="receiver" value="';
echo $u_res["receiver"];
echo '"></TD>
	 </TR>
	<TR>
예제 #4
0
        <td>Area*</td>
        <td>
        <div id="divarea">
        	<select name="area" id="area" onChange="return CallPincode(this.value)" class="form-control drop_down">
                        <option value="">Select Area</option>
                         <option value="<?php 
echo $result['Area_id'];
?>
" <?php 
if (isset($result['Area_id']) && $result['Area_id'] == $result['Area_id']) {
    ?>
selected<?php 
}
?>
><?php 
echo getarea(stripslashes(ucfirst($result['Area_id'])));
?>
</option>
            </select>
        </div>
        </td>
        </tr>
        
        <tr>
        <td>Pincode*</td>
        <td><input name="pincode" id="pincode" type="text" class="form-control text_box" value="<?php 
if (isset($result['pincode_id'])) {
    echo $result['Pincode'];
}
?>
"/></td>
예제 #5
0
<?php
$res = "<select class=\"form_input_select\" name=\"rating\" onchange=\"this.form.submit();\">\n";
for($i=0; $i<=9;$i++) {
	$res .= "<option value=\"$i\"";
	if($i == $rating)
		$res .= " selected";
	$res .= ">".$i."</option>\n";
}
$res .= "</select>\n";
echo $res;
?>
Minimal <a href="http://www.didx.net/rating" target="new">DID vendor rating</a>
<br />
<?php echo getcountry($country_arr, $country, $ID);?>
<br />
<?php echo getarea($area_arr, $area);?>
<br />
<?php if($country==1) echo getnxx($nxx_arr, $nxx)."<br />\n"; else echo '<input type="hidden" name="nxx" value="0">'; ?>
<?php echo getnumber($number_arr, $country, $number);?>
<br />
</form>
</td></tr>
</table>
</div>
<?php

if($number) {
	$vr = $didx->GetCostOfDIDByNumber($number);
	$number_info = $didx->getDIDMinutesInfo($number);
	$number_info['Vendor rating'] = $vr[3];
	echo "<h3>DID $number parameters:</h3><br />";
예제 #6
0
function getTBorrowList($parm = array())
{
    if (empty($parm['map'])) {
        return;
    }
    $map = $parm['map'];
    $orderby = $parm['orderby'];
    //dump($parm['pagesize']);die;
    if ($parm['pagesize']) {
        import("ORG.Util.Page");
        $count = M("transfer_borrow_info b")->where($map)->count("b.id");
        $p = new Page($count, $parm['pagesize']);
        $page = $p->show();
        $Lsql = "{$p->firstRow},{$p->listRows}";
    } else {
        $page = "";
        $Lsql = "{$parm['limit']}";
    }
    $pre = C("DB_PREFIX");
    $suffix = C("URL_HTML_SUFFIX");
    //dump($suffix);die;
    $field = "b.id,b.borrow_name,b.borrow_status,b.borrow_money,b.repayment_type,b.min_month,b.transfer_out,b.transfer_back,b.transfer_total,b.per_transfer,b.borrow_interest_rate,b.borrow_duration,b.increase_rate,b.reward_rate,b.deadline,b.is_show,m.province,m.city,m.area,m.user_name,m.id as uid,m.credits,m.customer_name,b.borrow_type,b.b_img,b.add_time,b.collect_day,b.danbao,b.stock_type";
    $list = M("transfer_borrow_info b")->field($field)->join("{$pre}members m ON m.id=b.borrow_uid")->where($map)->order($orderby)->limit($Lsql)->select();
    $areaList = getarea();
    //(国家、省、市、县。。)
    //dump($areaList);die;
    foreach ($list as $key => $v) {
        //($list是android那边需要的数据)
        $list[$key]['location'] = $areaList[$v['province']] . $areaList[$v['city']];
        $list[$key]['progress'] = getfloatvalue($v['transfer_out'] / $v['transfer_total'] * 100, 2);
        $list[$key]['need'] = getfloatvalue(($v['transfer_total'] - $v['transfer_out']) * $v['per_transfer'], 2);
        $list[$key]['burl'] = MU("Home/invest_transfer", "invest_transfer", array("id" => $v['id'], "suffix" => $suffix));
        $temp = floor(("{$v['collect_day']}" * 3600 * 24 - time() + "{$v['add_time']}") / 3600 / 24);
        $list[$key]['leftdays'] = "{$temp}" . '天以上';
        $list[$key]['now'] = time();
        $list[$key]['borrow_times'] = count(M('transfer_borrow_investor')->where("borrow_id = {$list[$key]['id']}")->select());
        if ($v['danbao'] != 0) {
            $list[$key]['danbaoid'] = intval($v['danbao']);
            $danbao = M('article')->field('id,title')->where("type_id=7 and id={$v['danbao']}")->find();
            $list[$key]['danbao'] = $danbao['title'];
            //担保机构
        } else {
            $list[$key]['danbao'] = '暂无担保机构';
            //担保机构
        }
    }
    $row = array();
    $row['list'] = $list;
    $row['page'] = $page;
    return $row;
}
예제 #7
0
        if ($i == $rating) {
            $res .= " selected";
        }
        $res .= ">" . $i . "</option>\n";
    }
    $res .= "</select>\n";
    echo $res;
    ?>
Minimal <a href="http://www.didx.net/rating" target="new">DID vendor rating</a>
<br />
<?php 
    echo getcountry($country_arr, $country, $ID);
    ?>
<br />
<?php 
    echo getarea($area_arr, $area);
    ?>
<br />
<?php 
    if ($country == 1) {
        echo getnxx($nxx_arr, $nxx) . "<br />\n";
    } else {
        echo '<input type="hidden" name="nxx" value="0">';
    }
    echo getnumber($number_arr, $country, $number);
    ?>
<br />
</form>
</td></tr>
</table>
</div>
예제 #8
0
}
?>
" class="form-control text_box" readonly></td>
          <td>City</td>
          <td><input type="text" name="city" id="city" value="<?php 
if (isset($result['cust_id'])) {
    echo getcities($result['City']);
}
?>
" class="form-control text_box" readonly></td>
        </tr>
        <tr >
          <td>Area</td>
          <td><input type="text" name="customer_name8" id="customer_name8" value="<?php 
if (isset($result['cust_id'])) {
    echo getarea($result['Area']);
}
?>
" class="form-control text_box" readonly></td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
        </tr>
        
        
        <tr>
          <td height="34">Address</td>
          <td rowspan="2"><textarea class="form-control txt_area" name="address" readonly><?php 
if (isset($result['cust_id'])) {
    echo $result['Address'];
}
?>
예제 #9
0
    echo "是";
} else {
    echo "否";
}
echo '</TD>
	  </TR>-->
	<TR>
	  <TD valign="middle" bgColor="#FBFDFF"  align="right">性别:</TD>
	  <TD height="38" align="left" valign="middle" bgColor="#FBFDFF" >';
echo $rs["sex"];
echo '</TD>
	  </TR>
	<TR>
	  <TD valign="middle" bgColor="#FBFDFF"  align="right">省份、城市、地区:</TD>
	  <TD height="38" align="left" valign="middle" bgColor="#FBFDFF" >';
echo getprovince($rs["province"]) . "-" . getcity($rs["city"]) . "-" . getarea($rs["area"]);
echo '</TD>
	  </TR>
     <TR>
	  <TD valign="middle" bgColor="#FBFDFF"  align="right">收货地址:</TD>
	  <TD height="38" align="left" valign="middle" bgColor="#FBFDFF" >';
echo $rs["address"];
echo '</TD>
	  </TR>
       <TR>
	  <TD valign="middle" bgColor="#FBFDFF"  align="right">收货人:</TD>
	  <TD height="38" align="left" valign="middle" bgColor="#FBFDFF" >';
echo $rs["receiver"];
echo '</TD>
	  </TR>
      <TR>