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


PHP c2l函数代码示例

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


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

示例1: while

while ($red = $q->fetch_object()) {
    $date2 = date_create($red->objvreme);
    $date2 = date_format($date2, 'd.m.Y');
    ?>
                                        <article>
                                            <dt>
                                                <a href="objave.php?id=<?php 
    echo $red->objid;
    ?>
"  class="accordion-title accordionTitle ">
<!--                                                 <b><?php 
    echo $date2;
    ?>
</b><br>
 -->                                               <?php 
    echo c2l($red->objnaslov);
    ?>
</a>
                                              </dt>
                                        </article>
                                        <?php 
}
?>

                                        

                                    </dl>
                                </div>
                            </div>
                        </div>
开发者ID:iwanzor,项目名称:mfingit1,代码行数:30,代码来源:ug_izb_dvo_oporez.php

示例2: c2l

                                                <div class="dokument-container">
                                                    <?php 
if (!empty($red->vestslika)) {
    ?>
                                                        <div class="tekst-vesti-slika">
                                                            <img src="<?php 
    echo '../' . $red->vestslika;
    ?>
" alt="" id="vest-slika">
                                                        </div>
                                                        <?php 
}
?>
                                                    <p>
                                                        <?php 
echo c2l($red->vesttekst);
?>
                                                    </p>
                                                </div>
                                            </dd>
                                        </article>



                                    </dl>
                                </div>
                            </div>
                        </div>

                    </article>
开发者ID:iwanzor,项目名称:mfingit1,代码行数:30,代码来源:vesti.php

示例3: c2l

                <div class="eight columns" id="vesti">

                    <div class="row">

                            <iframe class="galerija-okvir" width="100%" height="315" src="https://www.youtube.com/embed/<?php 
echo $red->vidlink;
?>
" frameborder="0" allowfullscreen></iframe>
                            <br>
                            <h1 style="font-size:2.4rem"><?php 
echo c2l($red->vidnaslov);
?>
</h1>
                            <br>
                            <p><?php 
echo c2l($red->vidopis);
?>
</p>
                        </div>

                </div>


                    <?php 
include '../include/side-nav-uprave-lat.php';
?>

            </div>
    </div>
        </div>
        </div>
开发者ID:iwanzor,项目名称:mfingit1,代码行数:31,代码来源:video-mat.php

示例4: c2l

                                    <p class="slajder-datum">
                                        <b><?php 
    echo $date3;
    ?>
</b>

                                    </p>
                                    <h5 class="slajder-tekst-naslov">
                                          <?php 
    echo c2l($red98->objnaslov);
    ?>
                                      </h5>

                                    <p class="slajder-tekst-opis">
                                        <?php 
    echo implode(' ', array_slice(explode(' ', c2l($red98->objtekst)), 0, 160)) . "...";
    ?>

                                    </p>

                                    <a role="button" class="button" style="text-align:center; max-width: 13.5rem; margin: 0 auto; display:block" href="objave.php?id=<?php 
    echo $red98->objid;
    ?>
">Read more</a>
                                </div>

                            </div>

                        </div>

                    </li>
开发者ID:iwanzor,项目名称:mfingit1,代码行数:31,代码来源:slajder-eng.php

示例5: rgb

                        <div class="row" style="background-color: rgb(241, 244, 244); box-shadow: 0px 1px 2px 0px rgb(200, 191, 191); mrgin-bottom:2rem;">

                        <?php 
while ($red = $q->fetch_object()) {
    ?>
                        <div class="galerija-fc">
                            <a href="<?php 
    echo '../' . $red->slikalink;
    ?>
" data-lightbox="gal-1">
                                <img class="galerija-okvir" src="<?php 
    echo '../' . $red->slikalink;
    ?>
" alt="<?php 
    echo c2l($red2->galnaslov);
    ?>
">
                            </a>
                        </div>
                        <?php 
}
?>


                    </div>

                    </div>
                </div>

开发者ID:iwanzor,项目名称:mfingit1,代码行数:28,代码来源:foto-mat.php

示例6: while

                                <?php 
while ($red = $q->fetch_object()) {
    $date4 = date_create($red->vestvreme);
    $date4 = date_format($date4, 'd.m.Y');
    ?>
                                <article class="tekst-vesti ">
                                    <h6 class="boja-datuma"><b><?php 
    echo $date4;
    ?>
</b></h6>

                                    <h6 class="vesti-opis"><a href="vesti.php?id=<?php 
    echo $red->vestid;
    ?>
"><?php 
    echo c2l($red->vestnaslov);
    ?>
</a></h6>

                                </article>
                                <!-- <span style="display:block; margin:1.2rem;"></span> -->
                                <?php 
}
?>
                            </div>
                            <p style="">
                              <a href="vesti-sve.php">
                                  Arhiva vesti
                              </a>
                            </p>
开发者ID:iwanzor,项目名称:mfingit1,代码行数:30,代码来源:index.php

示例7: header

<?php

include "../include/l2c.php";
include "../include/c2l.php";
include "konekcija.php";
header("Content-type: application/json; charset=utf-8");
if (!isset($_GET['query'])) {
    echo json_encode(1);
    exit;
}
$niz;
$vest = $_GET['query'];
$vest = l2c($vest);
$vest = $mysqli->real_escape_string($vest);
$sql = "SELECT vestid, vestnaslov FROM vesti WHERE vestnaslov LIKE '%{$vest}%'";
$q = $mysqli->query($sql);
while ($red = $q->fetch_object()) {
    $odgovor[] = array('vestid' => $red->vestid, 'vestnaslov' => c2l($red->vestnaslov));
}
echo json_encode($odgovor);
开发者ID:iwanzor,项目名称:mfingit1,代码行数:20,代码来源:autocompletevesti.php

示例8: header

<?php

include "../include/l2c.php";
include "../include/c2l.php";
include "konekcija.php";
header("Content-type: application/json; charset=utf-8");
if (!isset($_GET['query'])) {
    echo json_encode(1);
    exit;
}
$niz;
$objava = $_GET['query'];
$objava = l2c($objava);
$objava = $mysqli->real_escape_string($objava);
$sql = "SELECT objid, objnaslov FROM objave WHERE objnaslov LIKE '%{$objava}%'";
$q = $mysqli->query($sql);
while ($red = $q->fetch_object()) {
    $odgovor[] = array('objid' => $red->objid, 'objnaslov' => c2l($red->objnaslov));
}
echo json_encode($odgovor);
开发者ID:iwanzor,项目名称:mfingit1,代码行数:20,代码来源:autocompleteobjave.php

示例9: date_create

    $date2 = date_create($red->vidvreme);
    $date2 = date_format($date2, 'd.m.Y');
    ?>
                        <div class=" galerija-v">
                               <i class="fa fa-video-camera"></i>
                               <b><?php 
    echo $date2;
    ?>
</b>
                               <br><br>
                                <a href="video-mat.php?vidid=<?php 
    echo $red->vidid;
    ?>
">
                                    <p class="vesti-opis"><?php 
    echo c2l($red->vidnaslov);
    ?>
</p>
                                </a>
                            </div>
                        <?php 
}
?>

                    </div>
                    <div class="dokument-container">
                        <p>
                            Странице:
                            <?php 
for ($x = 1; $x <= $pages; $x++) {
    ?>
开发者ID:iwanzor,项目名称:mfingit1,代码行数:31,代码来源:video-gal.php


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