dbnt.co.kr2023/about3.php

145 lines
3.8 KiB
PHP

<? include "include/head.php"; ?>
<? include "include/top.php"; ?>
<?
$argu["b_class"] = ($language == "en") ? 2 : 1;
$_info = $Obj_board->get_boardconf_view($argu['b_class']);
$_list = $Obj_board->get_board_list($argu,$total,false);
?>
<section class="page-header page-header-modern page-header-background page-header-background-md overlay overlay-color-dark overlay-show overlay-op-8" style="background-image: url(image/top.jpg);">
<div class="container">
<div class="row mt-5">
<div class="col-md-12 align-self-center p-static order-2 text-center">
<h1><?=$lang['ABOUT_TEXT26']?></h1>
</div>
<div class="col-md-12 align-self-center order-1">
<ul class="breadcrumb breadcrumb-light d-block text-center">
<li><a href="#">Home</a></li>
<li class="active">Certification</li>
</ul>
</div>
</div>
</div>
</section>
<div class="sub_bg py-0">
<section class="main_con">
<div class="order-1 right_bg appear-animation" data-appear-animation="fadeInLeftShorter" data-appear-animation-delay="200">
<div class="right_img3">
<img src="image/right1_bg.png" class="img-fluid">
</div>
</div>
<div class="container">
<div class="row justify-content-between align-items-center">
<div class="col-md-12 order-2 order-md-1 appear-animation" data-appear-animation="fadeInRightShorter" data-appear-animation-delay="200">
<h6>CERTIFICATION</h6>
<h2 class="text-color-light mb-4"><?=$lang['ABOUT_TEXT27']?>
</h2>
<?
if(count($_list) > 0){
for($i=0;$i<count($_list);$i++){
$_b_title = str_replace("<","&lt;",$_list[$i]['b_title']);
$_b_title = str_replace(">","&gt;",$_b_title);
// 첨부 이미지 or 본문 이미지 찾기
if($_list[$i]["b_thumb"]){
$ext = array_pop(explode(".",$_list[$i]['b_thumb']));
if ( $ext=="gif"||$ext=="jpg"||$ext=="jpeg"||$ext=="png"||$ext=="bmp"||$ext=="tif"||$ext=="tiff"){
$thumbImage = "/pds/".$Obj_board->_PDS_SUB.$_list[$i][b_class]."/thumb/".$_list[$i]['b_thumb'];
}else{
preg_match("/<img[^>]*src=[\"']?([^>\"']+)[\"']?[^>]*>/i",txtParse($_list[$i]['b_content'],2),$imgSRC);
$thumbImage=$imgSRC[1];
}
}
else{
preg_match("/<img[^>]*src=[\"']?([^>\"']+)[\"']?[^>]*>/i",txtParse($_list[$i]['b_content'],2),$imgSRC);
$thumbImage=$imgSRC[1];
}
if(strlen($thumbImage)<3){
$thumbImage="";
}
// 첨부 이미지 or 본문 이미지 찾기
if($_list[$i]["b_thumb_list"]){
$ext = array_pop(explode(".",$_list[$i]['b_thumb_list']));
if ( $ext=="gif"||$ext=="jpg"||$ext=="jpeg"||$ext=="png"||$ext=="bmp"||$ext=="tif"||$ext=="tiff"){
$thumbImageList = "/pds/".$Obj_board->_PDS_SUB.$_list[$i][b_class]."/thumb_list/".$_list[$i]['b_thumb_list'];
}else{
preg_match("/<img[^>]*src=[\"']?([^>\"']+)[\"']?[^>]*>/i",txtParse($_list[$i]['b_content'],2),$imgSRC);
$thumbImageList=$imgSRC[1];
}
}
else{
preg_match("/<img[^>]*src=[\"']?([^>\"']+)[\"']?[^>]*>/i",txtParse($_list[$i]['b_content'],2),$imgSRC);
$thumbImageList=$imgSRC[1];
}
if(strlen($thumbImageList)<3){
$thumbImageList="";
}
?>
<div class="about3_box">
<div class="row">
<div class="col-md-2">
<img src="<?=$thumbImageList?>" alt="<?=$_b_title?>" />
</div>
<div class="col-md-10">
<h2><?=$_b_title?></h2>
<?if($_list[$i]["b_etc1"] != ""){?>
<p><?=$lang['ABOUT_TEXT28']?></p>
<p class="blue_text"><?=$_list[$i]["b_etc1"]?></p>
<?}?>
</div>
</div>
</div>
<?
}
}
else{
?>
<div class="about3_box">
<div class="row">
<div class="col-md-12">
<h2><?=$lang["board-nodata"]?></h2>
</div>
</div>
</div>
<?
}
?>
</div>
</div>
</div>
</section>
</div>
<? include "include/footer.php"; ?>