当前位置: 首页>>代码示例>>PHP>>正文


PHP get_view_thumbnail函数代码示例

本文整理汇总了PHP中get_view_thumbnail函数的典型用法代码示例。如果您正苦于以下问题:PHP get_view_thumbnail函数的具体用法?PHP get_view_thumbnail怎么用?PHP get_view_thumbnail使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了get_view_thumbnail函数的14个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: subject_sort_link

echo subject_sort_link("is_score");
?>
평점</a></th>
        <th scope="col"><?php 
echo subject_sort_link("is_confirm");
?>
확인</a></th>
        <th scope="col">관리</th>
    </tr>
    </thead>
    <tbody>
    <?php 
for ($i = 0; $row = sql_fetch_array($result); $i++) {
    $href = G5_SHOP_URL . '/item.php?it_id=' . $row['it_id'];
    $name = get_sideview($row['mb_id'], get_text($row['is_name']), $row['mb_email'], $row['mb_homepage']);
    $is_content = get_view_thumbnail(conv_content($row['is_content'], 1), 300);
    $bg = 'bg' . $i % 2;
    ?>

    <tr class="<?php 
    echo $bg;
    ?>
">
        <td class="td_chk">
            <label for="chk_<?php 
    echo $i;
    ?>
" class="sound_only"><?php 
    echo get_text($row['is_subject']);
    ?>
 사용후기</label>
开发者ID:davis00,项目名称:youngcart,代码行数:31,代码来源:itemuselist.php

示例2: count

$v_img_count = count($view['file']);
if ($v_img_count) {
    echo "<div id=\"bo_v_img\">\n";
    for ($i = 0; $i <= count($view['file']); $i++) {
        if ($view['file'][$i]['view']) {
            //echo $view['file'][$i]['view'];
            echo get_view_thumbnail($view['file'][$i]['view']);
        }
    }
    echo "</div>\n";
}
?>

        <!-- 본문 내용 시작 { -->
        <div id="bo_v_con"><?php 
echo get_view_thumbnail($view['content']);
?>
</div>
        <?php 
?>
<?php//echo $view[rich_content]; // {이미지:0} 과 같은 코드를 사용할 경우 ?>
        <!-- } 본문 내용 끝 -->

        <?php 
if ($is_signature) {
    ?>
<p><?php 
    echo $signature;
    ?>
</p><?php 
}
开发者ID:eeewq123,项目名称:aaa,代码行数:31,代码来源:view.skin.php

示例3: preg_replace_callback

        // 본문삽입
        $view['wr_content'] = preg_replace_callback("/{이미지\\:([0-9]+)[:]?([^}]*)}/i", "conv_rich_content", $view['wr_content']);
    } else {
        for ($i = 0; $i <= count($view['file']); $i++) {
            if ($view['file'][$i]['view']) {
                $file .= '<p>' . get_view_thumbnail($view['file'][$i]['view']) . '</p>';
            }
        }
        if ($view['as_img'] == "1") {
            $head_file = $file;
        } else {
            $tail_file = $file;
        }
    }
    $view['wr_content'] = $head_file . apms_link_video($view['link']) . apms_content($view['wr_content']) . $tail_file;
    $view['wr_content'] = get_view_thumbnail($view['wr_content']);
    ?>

<item>
<title><?php 
    echo specialchars_replace($view['wr_subject']);
    ?>
</title>
<link><?php 
    echo specialchars_replace(G5_BBS_URL . '/board.php?bo_table=' . $bo_table . '&wr_id=' . $view['wr_id']);
    ?>
</link>
<description><![CDATA[<?php 
    echo $view['wr_content'];
    ?>
]]></description>
开发者ID:peb317,项目名称:gbamn,代码行数:31,代码来源:rss.php

示例4: apms_datetime

				/ 
				<?php 
    echo apms_datetime($list[$i]['date'], 'Y.m.d H:i');
    ?>
 
				/ 
				<?php 
    echo $list[$i]['ca_name'];
    ?>
			</div>
			<div class="media-content media-resize" id="more_is_<?php 
    echo $i;
    ?>
" style="display:none;">
				<?php 
    echo get_view_thumbnail($list[$i]['is_content'], $default['pt_img_width']);
    // 문의 내용
    ?>
			</div>
		</div>
	</div>
<?php 
}
?>
</div>

<?php 
if ($i == 0) {
    echo '<p class="text-center text-muted list-none">등록한 후기가 없습니다.</p>';
}
?>
开发者ID:peb317,项目名称:gbamn,代码行数:31,代码来源:item.use.skin.php

示例5: get_view_thumbnail

        if ($is_admin || $member['mb_id'] == $row['mb_id']) {
            $iq_question = get_view_thumbnail(conv_content($row['iq_question'], 1), $thumbnail_width);
        } else {
            $iq_question = '비밀글로 보호된 문의입니다.';
            $is_secret = true;
        }
    } else {
        $iq_question = get_view_thumbnail(conv_content($row['iq_question'], 1), $thumbnail_width);
    }
    $iq_time = substr($row['iq_time'], 2, 8);
    $hash = md5($row['iq_id'] . $row['iq_time'] . $row['iq_ip']);
    $iq_stats = '';
    $iq_style = '';
    $iq_answer = '';
    if ($row['iq_answer']) {
        $iq_answer = get_view_thumbnail(conv_content($row['iq_answer'], 1), $thumbnail_width);
        $iq_stats = '답변보기';
        $is_answer = true;
    } else {
        $iq_stats = '답변보기';
        $iq_answer = '답변이 등록되지 않았습니다.';
        $is_answer = false;
    }
    if ($i == 0) {
        echo '<ol id="sit_qa_ol">';
    }
    ?>

        <li class="sit_qa_li">
            <button type="button" class="sit_qa_li_title">
                <div class="sit_qa_num"><?php 
开发者ID:najinsu,项目名称:nsle,代码行数:31,代码来源:itemqa.skin.php

示例6: get_view_thumbnail

				<?php 
    echo get_view_thumbnail($list[$i]['iq_question'], $default['pt_img_width']);
    // 문의 내용
    ?>
				<?php 
    if ($list[$i]['iq_answer']) {
        ?>
					<div class="media media-reply">
						<div class="photo-ans pull-left">
							<?php 
        echo $list[$i]['ans_photo'] ? '<img src="' . $list[$i]['ans_photo'] . '" alt="">' : '<i class="fa fa-user"></i>';
        ?>
						</div>
						<div class="media-body">
							<?php 
        echo get_view_thumbnail($list[$i]['iq_answer'], $default['pt_img_width']);
        ?>
							<div style="margin-top:10px;">
								<a href="<?php 
        echo $list[$i]['ans_href'];
        ?>
" class="btn btn-default btn-sm"><i class="fa fa-comment"></i> 답변수정</a>
							</div>
						</div>
					</div>
				<?php 
    } else {
        ?>
					<div style="margin-top:10px;">
						<a href="<?php 
        echo $list[$i]['ans_href'];
开发者ID:peb317,项目名称:gbamn,代码行数:31,代码来源:qalist.skin.php

示例7: cut_str

파트너</a></th>
		<?php 
}
?>
		<th scope="col">관리</th>
    </tr>
    </thead>
    <tbody>
    <?php 
for ($i = 0; $row = sql_fetch_array($result); $i++) {
    $row['iq_subject'] = cut_str($row['iq_subject'], 30, "...");
    $href = G5_SHOP_URL . '/item.php?it_id=' . $row['it_id'];
    $name = get_sideview($row['mb_id'], get_text($row['iq_name']), $row['mb_email'], $row['mb_homepage']);
    $answer = $row['iq_answer'] ? 'Y' : '&nbsp;';
    $iq_question = get_view_thumbnail(conv_content($row['iq_question'], 1), 300);
    $iq_answer = $row['iq_answer'] ? get_view_thumbnail(conv_content($row['iq_answer'], 1), 300) : "답변이 등록되지 않았습니다.";
    $bg = 'bg' . $i % 2;
    ?>
    <tr class="<?php 
    echo $bg;
    ?>
">
		<td class="td_chk">
            <label for="chk_<?php 
    echo $i;
    ?>
" class="sound_only"><?php 
    echo get_text($row['iq_subject']);
    ?>
 상품문의</label>
            <input type="checkbox" name="chk[]" value="<?php 
开发者ID:peb317,项目名称:gbamn,代码行数:31,代码来源:itemqalist.php

示例8: get_star

echo G5_JS_URL;
?>
/viewimageresize.js"></script>

<!-- 상품 사용후기 시작 { -->
<section id="sit_use_list">
    <h3>등록된 사용후기</h3>

    <?php 
$thumbnail_width = 500;
for ($i = 0; $row = sql_fetch_array($result); $i++) {
    $is_num = $total_count - ($page - 1) * $rows - $i;
    $is_star = get_star($row['is_score']);
    $is_name = get_text($row['is_name']);
    $is_subject = conv_subject($row['is_subject'], 50, "…");
    $is_content = get_view_thumbnail(conv_content($row['is_content'], 1), $thumbnail_width);
    $is_time = substr($row['is_time'], 2, 8);
    $is_href = './itemuselist.php?bo_table=itemuse&amp;wr_id=' . $row['wr_id'];
    $hash = md5($row['is_id'] . $row['is_time'] . $row['is_ip']);
    if ($i == 0) {
        echo '<ol id="sit_use_ol">';
    }
    ?>

        <li class="sit_use_li">
            <button type="button" class="sit_use_li_title"><b><?php 
    echo $is_num;
    ?>
.</b> <?php 
    echo $is_subject;
    ?>
开发者ID:davis00,项目名称:youngcart,代码行数:31,代码来源:itemuse.skin.php

示例9: get_view_thumbnail

        <?php 
// 파일 출력
if ($view['img_count']) {
    echo "<div id=\"bo_v_img\">\n";
    for ($i = 0; $i < $view['img_count']; $i++) {
        //echo $view['img_file'][$i];
        echo get_view_thumbnail($view['img_file'][$i], $qaconfig['qa_image_width']);
    }
    echo "</div>\n";
}
?>

        <!-- 본문 내용 시작 { -->
        <div id="bo_v_con"><?php 
echo get_view_thumbnail($view['content'], $qaconfig['qa_image_width']);
?>
</div>
        <!-- } 본문 내용 끝 -->

        <?php 
if ($view['qa_type']) {
    ?>
        <div id="bo_v_addq"><a href="<?php 
    echo $rewrite_href;
    ?>
" class="btn_b01">추가질문</a></div>
        <?php 
}
?>
开发者ID:davis00,项目名称:test,代码行数:29,代码来源:view.skin.php

示例10: count

        $v_img_count = count($view['file']);
        if($v_img_count) {
            echo "<div id=\"bo_v_img\">\n";

            for ($i=0; $i<=count($view['file']); $i++) {
                if ($view['file'][$i]['view']) {
                    //echo $view['file'][$i]['view'];
                    echo get_view_thumbnail($view['file'][$i]['view']);
                }
            }

            echo "</div>\n";
        }
         ?>

        <div id="bo_v_con"><?php echo get_view_thumbnail($view['content']); ?></div>
        <?php//echo $view['rich_content']; // {이미지:0} 과 같은 코드를 사용할 경우 ?>

        <?php if ($is_signature) { ?><p><?php echo $signature ?></p><?php } ?>

        <?php if ($scrap_href || $good_href || $nogood_href) { ?>
        <div id="bo_v_act">
            <?php if ($scrap_href) { ?><a href="<?php echo $scrap_href; ?>" target="_blank" class="btn_b01" onclick="win_scrap(this.href); return false;">스크랩</a><?php } ?>
            <?php if ($good_href) { ?>
            <span class="bo_v_act_gng">
                <a href="<?php echo $good_href.'&amp;'.$qstr ?>" id="good_button" class="btn_b01">추천 <strong><?php echo number_format($view['wr_good']) ?></strong></a>
                <b id="bo_v_act_good"></b>
            </span>
            <?php } ?>
            <?php if ($nogood_href) { ?>
            <span class="bo_v_act_gng">
开发者ID:kojaehyuk,项目名称:kjhtest,代码行数:31,代码来源:view.skin.php

示例11: display_html_content

function display_html_content($content = '', $html = '', $thumb_width = 700, $autolink = false, $popup = false, $writer_is_admin = false)
{
    if (empty($html)) {
        $content = nl2br(html_escape($content));
        if ($autolink) {
            $content = url_auto_link($content, $popup);
        }
        $content = preg_replace("/\\[<a\\s*href\\=\"(http|https|ftp)\\:\\/\\/([^[:space:]]+)\\.(gif|png|jpg|jpeg|bmp).*<\\/a>(\\s\\]|\\]|)/i", "<img src=\"\$1://\$2.\$3\" alt=\"\" style=\"max-width:100%;border:0;\">", $content);
        $content = preg_replace("/{지도\\:([^}]*)}/ie", "get_google_map('\\1', '{$thumb_width}')", $content);
        // Google Map
        return $content;
    }
    $source = array();
    $target = array();
    $source[] = '//';
    $target[] = '';
    $source[] = "/<\\?xml:namespace prefix = o ns = \"urn:schemas-microsoft-com:office:office\" \\/>/";
    $target[] = '';
    // 테이블 태그의 갯수를 세어 테이블이 깨지지 않도록 한다.
    $table_begin_count = substr_count(strtolower($content), '<table');
    $table_end_count = substr_count(strtolower($content), '</table');
    for ($i = $table_end_count; $i < $table_begin_count; $i++) {
        $content .= '</table>';
    }
    $content = preg_replace($source, $target, $content);
    if ($autolink) {
        $content = url_auto_link($content, $popup);
    }
    if ($writer_is_admin === false) {
        $content = html_purifier($content);
    }
    $content = get_view_thumbnail($content, $thumb_width);
    $content = preg_replace("/{&#51648;&#46020;\\:([^}]*)}/ie", "get_google_map('\\1', '{$thumb_width}')", $content);
    // Google Map
    return $content;
}
开发者ID:whees,项目名称:singlelife,代码行数:36,代码来源:common_helper.php

示例12: get_view_thumbnail

}
?>

	<div class="view-content">
		<?php 
echo get_view_thumbnail($view['content']);
?>
	</div>

	<?php 
// 이미지 하단 출력
if ($v_img_count && $is_img_tail) {
    echo '<div class="view-img">' . PHP_EOL;
    for ($i = 0; $i <= count($view['file']); $i++) {
        if ($view['file'][$i]['view']) {
            echo get_view_thumbnail($view['file'][$i]['view']);
        }
    }
    echo '</div>' . PHP_EOL;
}
?>

	<?php 
if ($good_href || $nogood_href) {
    ?>
		<div class="view-good-box">
			<?php 
    if ($good_href) {
        ?>
				<span class="view-good">
					<a href="#" onclick="apms_good('<?php 
开发者ID:peb317,项目名称:gbamn,代码行数:31,代码来源:view.skin.php

示例13: hyphen_hp_number

}
?>
				<?php 
if ($qa['iq_hp']) {
    ?>
					&nbsp; &nbsp;
					<i class="fa fa-phone"></i> <?php 
    echo hyphen_hp_number($qa['iq_hp']);
    ?>
				<?php 
}
?>
			</p>
			<div class="qa-view">
				<?php 
echo get_view_thumbnail($qa['iq_question'], $default['pt_img_width']);
?>
			</div>
		</div>
	</div>

	<div class="form-group">
		<?php 
echo $editor_html;
?>
	</div>

	<p class="text-center">
		<button type="submit" class="btn btn-color btn-sm">작성완료</button>
		<button type="button" class="btn btn-black btn-sm" onclick="window.close();">닫기</button>
	</p>
开发者ID:peb317,项目名称:gbamn,代码行数:31,代码来源:itemqansform.skin.php

示例14: get_view_thumbnail

<?php

if (!defined('_GNUBOARD_')) {
    exit;
}
include_once G5_LIB_PATH . '/thumbnail.lib.php';
for ($i = 0; $i < $view['download_count']; $i++) {
    $files[$i]['download_href'] = $view['download_href'][$i];
    $files[$i]['download_source'] = $view['download_source'][$i];
}
// 파일 출력
if ($view['img_count']) {
    for ($i = 0; $i < $view['img_count']; $i++) {
        $thumbs[$i] = get_view_thumbnail($view['img_file'][$i], $qaconfig['qa_image_width']);
    }
}
$option = '';
$option_hidden = '';
// 사용자 프로그램
@(include_once EYOOM_USER_PATH . '/qa/view.skin.php');
$tpl->define(array('answer_pc' => 'skin_pc/qa/' . $eyoom['qa_skin'] . '/view_answer.skin.html', 'answer_mo' => 'skin_mo/qa/' . $eyoom['qa_skin'] . '/view_answer.skin.html', 'answer_bs' => 'skin_bs/qa/' . $eyoom['qa_skin'] . '/view_answer.skin.html', 'answerform_pc' => 'skin_pc/qa/' . $eyoom['qa_skin'] . '/view_answerform.skin.html', 'answerform_mo' => 'skin_mo/qa/' . $eyoom['qa_skin'] . '/view_answerform.skin.html', 'answerform_bs' => 'skin_bs/qa/' . $eyoom['qa_skin'] . '/view_answerform.skin.html'));
// Template define
$tpl->define_template('qa', $eyoom['qa_skin'], 'view.skin.html');
@(include EYOOM_INC_PATH . '/tpl.assign.php');
$tpl->print_($tpl_name);
开发者ID:l2zeo,项目名称:eyoom_builder-1,代码行数:25,代码来源:view.skin.php


注:本文中的get_view_thumbnail函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。