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


PHP cuthighlight函数代码示例

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


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

示例1: cuthighlight

/po-content/po-upload/medium/medium_<?php 
                echo $tablerelated->picture;
                ?>
" alt="<?php 
                echo $tablerelated->title;
                ?>
">
                                    </a>
                                    <h5><a href="<?php 
                echo "{$website_url}/detailpost/{$tablerelated->seotitle}";
                ?>
" title="<?php 
                echo $tablerelated->title;
                ?>
"><?php 
                echo cuthighlight('title', $tablerelated->title, '35');
                ?>
</a></h5>
                                    <ul class="post_details simple"><li class="date"><?php 
                echo $tablerelated->time;
                ?>
, <?php 
                echo tgl_indo($tablerelated->date);
                ?>
</li></ul>
                                </li>
                                <?php 
            }
            ?>
                            </ul>
                        </div>
开发者ID:arakoswara,项目名称:iris-web,代码行数:31,代码来源:detailpost.php

示例2: cuthighlight

/po-content/po-thumbs/<?php 
        echo $conb->picture;
        ?>
" class="img-responsive" alt="<?php 
        echo $conb->title;
        ?>
">
		<h5><strong><center><a href="<?php 
        echo "{$website_url}/detailpost/{$conb->seotitle}";
        ?>
"><?php 
        echo $conb->title;
        ?>
</a></center></strong></h5>
		<p class="clearfix"><?php 
        echo cuthighlight('post', $conb->content, '100');
        ?>
</p>
		<p class="text-danger pull-right"><a href="<?php 
        echo "{$website_url}/detailpost/{$conb->seotitle}";
        ?>
">Read More</a></p>
	</div>
<?php 
        if ($no == 3) {
            ?>
</div>
<?php 
        }
        $no++;
        if ($no == 4) {
开发者ID:rad4n,项目名称:kelinci,代码行数:31,代码来源:home.php

示例3: cuthighlight

            ?>
/po-content/po-upload/medium/medium_<?php 
            echo $dcpost->picture;
            ?>
" class="img-rounded" />
							<span class="hover-zoom"></span>
						</a>
						<h4><a href="<?php 
            echo "{$website_url}/detailpost/{$dcpost->seotitle}";
            ?>
" class="name"><?php 
            echo cuthighlight('title', $dcpost->title, '30');
            ?>
...</a></h4>
						<div class="categories"><?php 
            echo cuthighlight('post', $dcpost->content, '100');
            ?>
...</div>
					</div>
				</div>
			<?php 
        }
        ?>
			</div>
			<div class="row">
				<div class="col-md-12">
					<div class="text-center">
						<ul class="pagination">
							<?php 
        $getpage = $val->validasi($_GET['page'], 'sql');
        $jmldata = $tabledcpost->numRowByAnd(id_category, "{$iddcat}", active, "Y");
开发者ID:rad4n,项目名称:erekutoro,代码行数:31,代码来源:category.php

示例4: cuthighlight

                ?>
/po-content/po-upload/medium/medium_<?php 
                echo $searchpost->picture;
                ?>
" class="img-rounded" />
								<span class="hover-zoom"></span>
							</a>
							<h4><a href="<?php 
                echo "{$website_url}/detailpost/{$searchpost->seotitle}";
                ?>
" class="name"><?php 
                echo cuthighlight('title', $searchpost->title, '35');
                ?>
...</a></h4>
							<div class="categories"><div class="categories"><?php 
                echo cuthighlight('post', $searchpost->content, '100');
                ?>
...</div></div>
						</div>
					</div>
				<?php 
            }
            ?>
				</div>
				<div class="row">
					<div class="col-md-12">
						<div class="text-center">
							<ul class="pagination">
								<?php 
            $getpage = $val->validasi($_GET['page'], 'sql');
            $jmldata = $tablesearch->numRowSearchPost($kata);
开发者ID:rad4n,项目名称:kelinci,代码行数:31,代码来源:searchresult.php

示例5: header

if ($mod == "") {
    header('location:404.php');
} else {
    error_reporting(0);
    if (isset($_GET['id'])) {
        $idmetadesc = $val->validasi($_GET['id'], 'xss');
        $metadesc = new PoTable();
        $currentMetaDesc = $metadesc->findManualQuery($tabel = "post", $field = "", $condition = "WHERE seotitle='" . $idmetadesc . "'");
        $currentMetaDesc = $currentMetaDesc->current();
        if ($currentMetaDesc) {
            echo cuthighlight('post', $currentMetaDesc->content, '200');
        } else {
            $idmetadesc = ucfirst($mod);
            echo $idmetadesc . " - " . $meta_description;
        }
    } elseif (isset($_GET['idp'])) {
        $idmetadesc = $val->validasi($_GET['idp'], 'xss');
        $metadesc = new PoTable();
        $currentMetaDesc = $metadesc->findManualQuery($tabel = "pages", $field = "", $condition = "WHERE seotitle='" . $idmetadesc . "'");
        $currentMetaDesc = $currentMetaDesc->current();
        if ($currentMetaDesc) {
            echo cuthighlight('post', $currentMetaDesc->content, '200');
        } else {
            $idmetadesc = ucfirst($mod);
            echo $idmetadesc . " - " . $meta_description;
        }
    } else {
        $idmetadesc = ucfirst($mod);
        echo $idmetadesc . " - " . $meta_description;
    }
}
开发者ID:rad4n,项目名称:kelinci,代码行数:31,代码来源:meta-desc.php

示例6: elseif

         $metasocial_url = $website_url;
         $metasocial_title = $website_name;
         $metasocial_desc = $meta_description;
         $metasocial_img = $website_url . '/favicon.png';
     }
 } elseif (isset($_GET['idp'])) {
     $idmetadesc = $val->validasi($_GET['idp'], 'xss');
     $metadesc = new PoTable();
     $currentMetaDesc = $metadesc->findManualQuery($tabel = "pages", $field = "", $condition = "WHERE seotitle='" . $idmetadesc . "'");
     $currentMetaDesc = $currentMetaDesc->current();
     if ($currentMetaDesc) {
         $metasocial_mod = ucfirst($mod);
         $metasocial_name = $website_name;
         $metasocial_url = $website_url . '/pages/' . $currentMetaDesc->seotitle;
         $metasocial_title = $currentMetaDesc->title;
         $metasocial_desc = cuthighlight('post', $currentMetaDesc->content, '200');
         $metasocial_img = $website_url . '/po-content/po-upload/' . $currentMetaDesc->picture;
     } else {
         $metasocial_mod = ucfirst($mod);
         $metasocial_name = $website_name;
         $metasocial_url = $website_url;
         $metasocial_title = $website_name;
         $metasocial_desc = $meta_description;
         $metasocial_img = $website_url . '/favicon.png';
     }
 } else {
     $metasocial_mod = ucfirst($mod);
     $metasocial_name = $website_name;
     $metasocial_url = $website_url;
     $metasocial_title = $website_name;
     $metasocial_desc = $meta_description;
开发者ID:rad4n,项目名称:erekutoro,代码行数:31,代码来源:meta-social.php

示例7: cuthighlight

            echo $currentCompo->picture;
            ?>
" alt="<?php 
            echo $currentCompo->title;
            ?>
" style="width:100px;">
                                    </a>
                                    <div class="post_content">
                                        <h5><a href="<?php 
            echo "{$website_url}/detailpost/{$currentCompo->seotitle}";
            ?>
#comment-list" title="<?php 
            echo $currentCompo->title;
            ?>
"><?php 
            echo cuthighlight('post', $com->comment, '45');
            ?>
...</a></h5>
                                        <ul class="post_details simple">
                                            <li class="category"><a href="<?php 
            echo "{$website_url}/detailpost/{$currentCompo->seotitle}";
            ?>
" title="<?php 
            echo $com->name;
            ?>
"><?php 
            echo $explname[0];
            ?>
</a></li>
                                            <li class="date"><?php 
            echo tgl_indo($com->date);
开发者ID:rad4n,项目名称:erekutoro,代码行数:31,代码来源:sidebar.php

示例8: cuthighlight

					<li style="top:-250px;" background="<?php 
        echo $website_url;
        ?>
/po-content/po-upload/<?php 
        echo $slider->picture;
        ?>
">
						<div class="banner">
								<div class="container">
									<div class="banner-info">
										<h3><?php 
        echo $slider->title;
        ?>
</h3>
										<p><?php 
        echo cuthighlight('title', $slider->title, '35');
        ?>
...</p>
										<a class="scroll" href="#about"><img src="<?php 
        echo $website_url;
        ?>
/po-content/<?php 
        echo $folder;
        ?>
/images/arrow.png" alt=""/></a>
									</div>
								</div>
						</div>
					</li>
					<?php 
    }
开发者ID:rad4n,项目名称:cfcd,代码行数:31,代码来源:header.php

示例9: cuthighlight

" alt="<?php 
            echo $gallery->title;
            ?>
">
                                </a>
                                <h5><a class="post_image prettyPhoto" href="<?php 
            echo $website_url;
            ?>
/po-content/po-upload/<?php 
            echo $gallery->picture;
            ?>
" title="<?php 
            echo $gallery->title;
            ?>
"><?php 
            echo cuthighlight('title', $gallery->title, '15');
            ?>
...</a>
                            </li>
                        <?php 
        }
    }
    ?>
                        </ul>
                        <div class="row">
                            <p>&nbsp;</p>
                            <ul class="pagination clearfix page_margin_top_section">
                            <?php 
    $getpage = $val->validasi($_GET['page'], 'sql');
    $jmldata = $tablegal->numRow();
    $jmlhalaman = $p->jumlahHalaman($jmldata, $batas);
开发者ID:arakoswara,项目名称:iris-web,代码行数:31,代码来源:gallery.php

示例10: cuthighlight

													Seharian
												<?php 
        } else {
            ?>
													<?php 
            echo $startevt[1];
            ?>
 - <?php 
            echo $endevt[1];
            ?>
												<?php 
        }
        ?>
											</p>
											<p><?php 
        echo cuthighlight('post', $dataevent->content, '150');
        ?>
...</p>
										</div>
									</div> <!-- **entry-detail - Ends** -->
								</div>
							</article> <!-- **Blog-post - Ends** -->
						</div>
						<?php 
        $nov++;
    }
    ?>
						<!-- **pagination - Starts** -->  
						<div class="pagination">
							<ul>
								<?php 
开发者ID:kevinmel2000,项目名称:phpindonesia.or.id-profile,代码行数:31,代码来源:listevent.php

示例11: foreach

    $con1js = $tablecon1j->findAllLimitByAnd(id_post, id_category, active, '4', 'Y', DESC, '10');
    foreach ($con1js as $con1j) {
        ?>
               <div class="item topic">          
               <a href="<?php 
        echo "{$website_url}/detailpost/{$con1j->seotitle}";
        ?>
"> <img class="img-thumbnail" src="<?php 
        echo $website_url;
        ?>
/content/upload/<?php 
        echo $con1j->picture;
        ?>
" width="300" height="132" alt=""/>
                  <h4><?php 
        echo cuthighlight('post', $con1j->title, '50');
        ?>
...</h4>
                  <div class="text-danger sub-info-bordered remove-borders">
                    <div class="time"><span class="ion-android-data icon"></span><?php 
        echo tgl_indo($con1j->date);
        ?>
</div>
                    <div class="comments"><span class="ion-chatbubbles icon"></span><?php 
        echo $con1j->hits;
        ?>
</div>
                    <div class="stars"><span class="ion-ios7-star"></span><span class="ion-ios7-star"></span><span class="ion-ios7-star"></span><span class="ion-ios7-star"></span><span class="ion-ios7-star-half"></span></div>
                  </div>
                  </a> </div>
            <?php 
开发者ID:benzshaddow,项目名称:mitraCMS,代码行数:31,代码来源:home.php

示例12: tgl_indo

        echo tgl_indo($slider->date);
        ?>
</li>
                                    </ul>
                                    <h2><a href="<?php 
        echo "{$website_url}/detailpost/{$slider->seotitle}";
        ?>
" title="<?php 
        echo $slider->title;
        ?>
"><?php 
        echo cuthighlight('title', $slider->title, '35');
        ?>
...</a></h2>
                                    <p class="clearfix"><?php 
        echo cuthighlight('post', $slider->content, '100');
        ?>
...</p>
                                </div>
                            </li>
                        <?php 
    }
    ?>
                        </ul>
                        <!--<div class="slider_posts_list_container"></div>-->

                        

                        

                        
开发者ID:arakoswara,项目名称:ABSENSI,代码行数:25,代码来源:home.php


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