查看文件: company_profile.php
大小: 5.61 KB
类型: application/octet-stream
<?php /* if (!isset($_SESSION)){ session_start(); } if(!isset($_SESSION['shop_name'])){ $_SESSION['shop_name']='SKYBNI'; $_SESSION['shop_id']='1'; } */ $menu=isset($_GET['menu'])?$_GET['menu']:'SKYBNI'; //$li =isset($_GET['li'])?$_GET['li']:''; require_once('../Connections/BE2.php'); ?> <?php mysql_select_db($database_BE2, $BE2); $query_Rp =sprintf("SELECT a.*,b.* FROM company as a, address as b WHERE a.co_address=b.address_id AND a.company_title='%s'",$menu); $Rp = mysql_query($query_Rp, $BE2) or die(mysql_error()); $row_Rp = mysql_fetch_assoc($Rp); $totalRows_Rp = mysql_num_rows($Rp); ?> <div class="clearfix"> </div> <div class="col-12 align-self-center"> <? /* 公司基本資料 統一編號:42656789 公司名稱:天空商城有限公司 英文名稱: SKYBNI COMPANY LTD. 代表人姓名:伍以正 公司地址:臺北市中山區復興北路342號7樓 公司電話:02-2752-1898 匯款銀行:國泰世華銀行(013) 匯款帳號:077-03-5003226 匯款戶名:天空商城有限公司 */ ?> <table width="100%" class="table table-bordered table-striped table-condensed table-hover" > <tr valign="baseline"> <td width="108" align="right" nowrap="nowrap">負責人姓名:</td> <td width="1048"> <input name="mem_user" type="text" class="form-control" value="<?=$row_Rp['mem_user']; ?>" readonly="readonly" /></td> </tr> <tr valign="baseline"> <td nowrap="nowrap" align="right">營業項目</td> <td><input name="company_card" type="text" class="form-control" id="company_card" value="<?= $row_Rp['company_card'] ?>" readonly="readonly" /></td> </tr> <tr valign="baseline"> <td nowrap="nowrap" align="right">聯繫電話</td> <td><input name="company_tel" type="text" class="form-control" id="company_tel" value="<?= $row_Rp['company_tel'] ?>" readonly="readonly" /></td> </tr> <tr valign="baseline"> <td nowrap="nowrap" align="right">統一編號</td> <td><input name="company_code" type="text" class="form-control" id="company_code" value="<?= $row_Rp['company_code'] ?>" readonly="readonly" /></td> </tr> <tr valign="baseline"> <td nowrap="nowrap" align="right">公司名稱:</td> <td><input name="company_name" type="text" class="form-control" id="company_name" value="<?= $row_Rp['company_name'] ; ?>" size="32" readonly="readonly" /></td> </tr> <tr valign="baseline"> <td nowrap="nowrap" align="right">匯款戶名</td> <td><input name="company_bankname" type="text" class="form-control" id="company_bankname" value="<?= $row_Rp['company_bankname'] ?>" readonly="readonly" /></td> </tr> <tr valign="baseline"> <td nowrap="nowrap" align="right">匯款銀行</td> <td><input name="company_bank" type="text" class="form-control" id="company_bank" value="<?= $row_Rp['company_bank'] ?>" readonly="readonly" /></td> </tr> <tr valign="baseline"> <td nowrap="nowrap" align="right">匯款銀行代碼</td> <td><input name="company_bank2" type="text" class="form-control" id="company_bank2" value="<?= $row_Rp['company_bank2'] ?>" readonly="readonly" /></td> </tr> <tr valign="baseline"> <td nowrap="nowrap" align="right">匯款帳號</td> <td><input name="company_bankcode" type="text" class="form-control" id="company_bankcode" value="<?= $row_Rp['company_bankcode'] ?>" readonly="readonly" /></td> </tr> <tr valign="baseline"> <td align="right" valign="middle" nowrap="nowrap">公司地址:</td> <td ><? $a= $row_Rp['county'].$row_Rp['district'].$row_Rp['street'].$row_Rp['co_address2'].'號'; $a .= ($row_Rp['co_address3']=='')?'':$row_Rp['co_address3']."樓"; ?> <input name="company_name2" type="text" class="form-control" id="company_name2" value="<?= $a; ?>" size="32" readonly="readonly" /></td> <? /* <tr valign="baseline"> <td nowrap="nowrap" align="right">Google 地圖</td> <td><span class="col-md-9"> <input name="company_address" type="text" id="company_address" value="<?= $row_Rp['company_address'] ; ?>" size="28" /> </span></td> </tr> <tr valign="baseline"> <td nowrap="nowrap" align="right">Line行動條碼</td> <td><span class="col-md-9"> <input name="company_line" type="text" id="company_line" value="<?= $row_Rp['company_line'] ; ?>" size="28" /> </span></td> </tr> <tr valign="baseline"> <td nowrap="nowrap" align="right">公司_Email</td> <td><span class="col-md-9"> <input name="company_mail" type="text" id="company_mail" value="<?= $row_Rp['company_mail'] ; ?>" size="28" /> </span></td> </tr> <tr valign="baseline"> <td nowrap="nowrap" align="right">匯款戶名</td> <td><span class="col-md-9"> <input name="company_bankname" type="text" id="company_bankname" value="<?= $row_Rp['company_bankname'] ; ?>" size="28" /> </span></td> */ ?> </tr> </table> <? /* <br> <br> <br> 公司基本資料 <br> 統一編號 : <?= $row_Rp['company_code'] ?><br> 公司名稱 : <?= $row_Rp['company_name'] ; ?><br> 代表人姓名:<?= $row_Rp['mem_user']?><br> 公司地址:<? $a= $row_Rp['county'].$row_Rp['district'].$row_Rp['street'].$row_Rp['co_address2'].'號'; $a .= ($row_Rp['co_address3']=='')?'':$row_Rp['co_address3']."樓"; echo $a; ?><br> 公司電話 : <?= $row_Rp['company_tel'] ?><br> </div> */ ?> <?php mysql_free_result($Rp); ?>
保存
取消
返回文件列表