크라운로또 시작페이지로 설정 크라운로또 즐겨찾기

로그인 | 비밀번호찾기 |
<?php $page_title = '2 '; include_once '_common.php'; $paging = new Paging($db); $si = $_GET['si']; $addr = $_GET['addr']; $page = $_GET['page']; $where = ' where market_win2 > 0'; if (!empty($si)) $where .= " and market_address like '" . $lotto->db->r_string($si) . " %' "; if (!empty($addr)) { $where .= " and (market_address like '%" . $lotto->db->r_string($addr) . "%' or market_name like '%" . $lotto->db->r_string($addr) . "%') "; } //# t $paging->setPaging($lotto->market_table, $page, $where, 'market_id', 30); $add_query = $where . " order by market_win2 DESC, market_name asc " . $paging->getLimit(); $query = "select * from LOTTO_market $add_query "; //pt 84 $result = $this->db->query($query)->result_array(); ?> <div class="submain"> <div class="map">Home > \ > <span><?=$page_title?></span></div> <div class="titleimg"><img src="/images/market_top.gif" alt=""/></div> <h3><?=$page_title?></h3> <div class="storetbl"> <div class="storeleft"><img src="/images/icon_city.gif" alt=""/> <select onchange="location.href='?si=' + this.value;"> <option value="" >m</option> <option value="0" <?=$si_selected['0']?>>0</option> <option value="xǜ" <?=$si_selected['xǜ']?>>xǜ</option> <option value="" <?=$si_selected['']?>></option> <option value="́" <?=$si_selected['́']?>>́</option> <option value="ͨ" <?=$si_selected['ͨ']?>>ͨ</option> <option value="" <?=$si_selected['']?>></option> <option value="" <?=$si_selected['']?>></option> <option value="ư" <?=$si_selected['ư']?>>ư</option> <option value="ȁ" <?=$si_selected['ȁ']?>>ȁ</option> <option value="Ȩ" <?=$si_selected['Ȩ']?>>Ȩ</option> <option value="" <?=$si_selected['']?>></option> <option value="" <?=$si_selected['']?>></option> <option value="" <?=$si_selected['']?>></option> <option value="l" <?=$si_selected['l']?>>l</option> <option value="" <?=$si_selected['']?>></option> <option value="" <?=$si_selected['']?>></option> </select> </div> <div class="storeright"><form style="margin:0">8,Ņ(M/t/ٳ) <input type="text" class="bsearch_box" name="addr" value="<?=htmlspecialchars($addr)?>"/> <input type=image src="/images/btn_search2.gif" alt=""/><input type=hidden name='si' value='<?=htmlspecialchars($si)?>'></form></div> <table> <colgroup> <col width="130px" /> <col width="" /> <col width="110px" /> <col width="50px" /> </colgroup> <tr> <th>8օ</th> <th></th> <th>Tֈ8</th> <th>2</th> </tr> <?php foreach($result as $k => $row){ @extract($row); ?> <tr> <td class="storename"> <?=conv_subject($market_name, 16, '...')?> </td> <td class="storename"> <?=conv_subject($market_address, 60, '...')?> </td> <td><?=$market_phone?></td> <td style="text-align:center;padding-left:0;"><?=$market_win2?></td> </tr> <? } ?> </table> </div> <div class="pagecount_board"> <ul> <?=$paging->getPaging_public("si=" . urlencode($_GET['si']) . "&addr=" . urlencode($_GET['addr']))?> </ul> </div> <div class="storecaution"> \ 1, 2  Ȑ  |XX JD  ǵȲ.<br /> \ \X 䲑\ pt0( Ȍ, Tֈ8,  ) | lX<ǘ, \X  DX  |XX JD  ǵȲ. \ زخ D t |XX J <span></span> </div> </div>