mysqli 지원 추가
This commit is contained in:
@ -78,7 +78,7 @@ if($ev_id) {
|
||||
$event_option = "<option value=''>이벤트를 선택하세요</option>";
|
||||
$sql1 = " select ev_id, ev_subject from {$g5['g5_shop_event_table']} order by ev_id desc ";
|
||||
$result1 = sql_query($sql1);
|
||||
while ($row1=mysql_fetch_array($result1))
|
||||
while ($row1=sql_fetch_array($result1))
|
||||
$event_option .= '<option value="'.$row1['ev_id'].'" '.get_selected($ev_id, $row1['ev_id']).' >'.conv_subject($row1['ev_subject'], 20,"…").'</option>';
|
||||
echo $event_option;
|
||||
?>
|
||||
@ -98,7 +98,7 @@ if($ev_id) {
|
||||
<?php
|
||||
$sql1 = " select ca_id, ca_name from {$g5['g5_shop_category_table']} order by ca_order, ca_id ";
|
||||
$result1 = sql_query($sql1);
|
||||
for ($i=0; $row1=mysql_fetch_array($result1); $i++)
|
||||
for ($i=0; $row1=sql_fetch_array($result1); $i++)
|
||||
{
|
||||
$len = strlen($row1['ca_id']) / 2 - 1;
|
||||
$nbsp = "";
|
||||
@ -144,7 +144,7 @@ if($ev_id) {
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php for ($i=0; $row=mysql_fetch_array($result); $i++) {
|
||||
<?php for ($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
$href = G5_SHOP_URL.'/item.php?it_id='.$row['it_id'];
|
||||
|
||||
$sql = " select ev_id from {$g5['g5_shop_event_item_table']}
|
||||
|
||||
Reference in New Issue
Block a user