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


PHP print_info函数代码示例

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


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

示例1: parse_options

function parse_options()
{
    $options = getopt("h", array("clients-count:", "log-junit", "verbose", "build"));
    if (isset($options['h'])) {
        print_info();
        die;
    }
    if (isset($options['build'])) {
        $options['verbose'] = true;
        $options['log-junit'] = true;
    }
    if (isset($options['clients-count'])) {
        define('SELENIUM_CLIENTS_COUNT', $options['clients-count']);
    }
    if (isset($options['log-junit'])) {
        TestRunner::$log_xml = true;
        shell_exec("rm /tmp/TEST*.xml");
    }
    if (isset($options['verbose'])) {
        TestRunner::$verbose = true;
    }
    if (!defined('SELENIUM_CLIENTS_COUNT')) {
        define('SELENIUM_CLIENTS_COUNT', 5);
    }
    $runner = new testRunner();
    $runner->start(SELENIUM_CLIENTS_COUNT);
}
开发者ID:kingsj,项目名称:core,代码行数:27,代码来源:phpunit-parallel.php

示例2: db_connect

function db_connect($dbname=DBNAME, $dbport=DBPORT) {
    
    print_info("Attempting to connect to " . DBNAME . "@".DBHOST);

    $mysqli = new mysqli(
        DBHOST, 
        DBUSER, 
        DBPASS, 
        $dbname);

    if( $mysqli->connect_error ) 
        print_error("Was unable to connect to your db defined in config/settings.php. Double-check your settings!");
    
    return $mysqli;
}
开发者ID:rmillsap,项目名称:remora,代码行数:15,代码来源:lib.php

示例3: gen_liste

 function gen_liste()
 {
     global $dbh, $msg, $deflt_docs_location, $begin_result_liste, $end_result_liste;
     if (!$deflt_docs_location) {
         return "";
     }
     $sql = "SELECT expl_id, expl_cb FROM exemplaires where expl_retloc='" . $deflt_docs_location . "' ";
     $req = pmb_mysql_query($sql) or die($msg["err_sql"] . "<br />" . $sql . "<br />" . pmb_mysql_error());
     while ($liste = pmb_mysql_fetch_object($req)) {
         if ($stuff = get_expl_info($liste->expl_id)) {
             $stuff = check_pret($stuff);
             $aff_final .= print_info($stuff, 0, 0, 0);
         }
     }
     if ($aff_final) {
         return "<h3>" . $msg['expl_todo_liste'] . "</h3>" . $begin_result_liste . $aff_final . $end_result_liste;
     } else {
         return $msg['resa_liste_docranger_nodoc'];
     }
 }
开发者ID:noble82,项目名称:proyectos-ULS,代码行数:20,代码来源:expl_to_do.class.php

示例4: aff_cart_unique_object

function aff_cart_unique_object($item, $caddie_type, $url_base = "./catalog.php?categ=caddie&sub=gestion&quoi=panier&idcaddie=0")
{
    global $msg;
    global $dbh;
    global $begin_result_liste;
    global $end_result_list;
    global $page, $nbr_lignes, $nb_per_page, $nb_per_page_search;
    // nombre de références par pages
    if ($nb_per_page_search != "") {
        $nb_per_page = $nb_per_page_search;
    } else {
        $nb_per_page = 10;
    }
    $cb_display = "\n\t\t\t<div id=\"el!!id!!Parent\" class=\"notice-parent\">\n\t    \t\t<span class=\"notice-heada\">!!heada!!</span>\n\t    \t\t<br />\n\t\t\t</div>\n\t\t\t";
    $liste[] = array('object_id' => $item, 'content' => "", 'blob_type' => "");
    $aff_retour = "";
    //Calcul des variables pour la suppression d'items
    $modulo = $nbr_lignes % $nb_per_page;
    if ($modulo == 1) {
        $page_suppr = !$page ? 1 : $page - 1;
    } else {
        $page_suppr = $page;
    }
    $nb_after_suppr = $nbr_lignes ? $nbr_lignes - 1 : 0;
    if (!sizeof($liste) || !is_array($liste)) {
        return $msg[399];
    } else {
        // en fonction du type de caddie on affiche ce qu'il faut
        if ($caddie_type == "NOTI") {
            // boucle de parcours des notices trouvées
            while (list($cle, $object) = each($liste)) {
                if ($object[content] == "") {
                    // affichage de la liste des notices sous la forme 'expandable'
                    $requete = "SELECT * FROM notices WHERE notice_id={$object['object_id']} LIMIT 1";
                    $fetch = pmb_mysql_query($requete);
                    if (pmb_mysql_num_rows($fetch)) {
                        $notice = pmb_mysql_fetch_object($fetch);
                        if ($notice->niveau_biblio == 'b') {
                            // notice de bulletin
                            $rqtbull = "select bulletin_id from bulletins where num_notice=" . $notice->notice_id;
                            $fetchbull = pmb_mysql_query($rqtbull);
                            $bull = pmb_mysql_fetch_object($fetchbull);
                            $link = "./catalog.php?categ=serials&sub=bulletinage&action=view&bul_id=" . $bull->bulletin_id;
                            // pas affichés pour l'instant:
                            $link_expl = '';
                            $link_explnum = '';
                            $display = new mono_display($notice, 6, $link, 1, $link_expl, $lien_suppr_cart, $link_explnum);
                            $aff_retour .= $display->result;
                        } elseif ($notice->niveau_biblio != 's' && $notice->niveau_biblio != 'a') {
                            // notice de monographie
                            $link = './catalog.php?categ=isbd&id=!!id!!';
                            $link_expl = './catalog.php?categ=edit_expl&id=!!notice_id!!&cb=!!expl_cb!!&expl_id=!!expl_id!!';
                            $link_explnum = './catalog.php?categ=edit_explnum&id=!!notice_id!!&explnum_id=!!explnum_id!!';
                            $lien_suppr_cart = "<a href='{$url_base}&action=del_item&object_type=NOTI&item={$notice->notice_id}&page={$page_suppr}&nbr_lignes={$nb_after_suppr}&nb_per_page={$nb_per_page}'><img src='./images/basket_empty_20x20.gif' alt='basket' title=\"" . $msg[caddie_icone_suppr_elt] . "\" /></a>";
                            $display = new mono_display($notice, 6, $link, 1, $link_expl, $lien_suppr_cart, $link_explnum);
                            $aff_retour .= $display->result;
                        } else {
                            // on a affaire à un périodique
                            // préparation des liens pour lui
                            $link_serial = './catalog.php?categ=serials&sub=view&serial_id=!!id!!';
                            $link_analysis = './catalog.php?categ=serials&sub=bulletinage&action=view&bul_id=!!bul_id!!&art_to_show=!!id!!';
                            $link_bulletin = './catalog.php?categ=serials&sub=bulletinage&action=view&bul_id=!!id!!';
                            $lien_suppr_cart = "<a href='{$url_base}&action=del_item&object_type=NOTI&item={$notice->notice_id}&page={$page_suppr}&nbr_lignes={$nb_after_suppr}&nb_per_page={$nb_per_page}'><img src='./images/basket_empty_20x20.gif' alt='basket' title=\"" . $msg[caddie_icone_suppr_elt] . "\" /></a>";
                            $link_explnum = "./catalog.php?categ=serials&sub=analysis&action=explnum_form&bul_id=!!bul_id!!&analysis_id=!!analysis_id!!&explnum_id=!!explnum_id!!";
                            $serial = new serial_display($notice, 6, $link_serial, $link_analysis, $link_bulletin, $lien_suppr_cart, $link_explnum, 0);
                            $aff_retour .= $serial->result;
                        }
                    }
                } else {
                    $cb_display = "\n\t\t\t\t\t\t<div id=\"el!!id!!Parent\" class=\"notice-parent\">\n\t\t\t\t    \t\t<span class=\"notice-heada\"><strong>Code-barre : {$object['content']}&nbsp;: {$msg[395]}</strong></span>\n\t\t\t\t    \t\t<br />\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t";
                    $aff_retour .= $cb_display;
                }
            }
            // fin de liste
            print $end_result_list;
        }
        // fin si NOTI
        // si EXPL
        if ($caddie_type == "EXPL") {
            // boucle de parcours des exemplaires trouvés
            // inclusion du javascript de gestion des listes dépliables
            // début de liste
            while (list($cle, $expl) = each($liste)) {
                if (!$expl[content]) {
                    if ($stuff = get_expl_info($expl[object_id])) {
                        $stuff->lien_suppr_cart = "<a href='{$url_base}&action=del_item&object_type=EXPL&item={$expl}&page={$page_suppr}&nbr_lignes={$nb_after_suppr}&nb_per_page={$nb_per_page}'><img src='./images/basket_empty_20x20.gif' alt='basket' title=\"" . $msg[caddie_icone_suppr_elt] . "\" /></a>";
                        $stuff = check_pret($stuff);
                        $aff_retour .= print_info($stuff, 0, 1);
                    } else {
                        $aff_retour .= "<strong>ID : {$expl['object_id']}&nbsp;: {$msg[395]}</strong>";
                    }
                } else {
                    $cb_display = "\n\t\t\t\t\t\t<div id=\"el!!id!!Parent\" class=\"notice-parent\">\n\t\t\t\t    \t\t<span class=\"notice-heada\"><strong>Code-barre : {$expl['content']}&nbsp;: {$msg[395]}</strong></span>\n\t\t\t\t    \t\t<br />\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t";
                    $aff_retour .= $cb_display;
                }
            }
            // fin de liste
            print $end_result_list;
        }
        // fin si EXPL
//.........这里部分代码省略.........
开发者ID:hogsim,项目名称:PMB,代码行数:101,代码来源:cart.inc.php

示例5: pmb_bidi

         } else {
             $message_ajout_expl = "<strong>{$form_cb_expl}&nbsp;: {$msg['395']}</strong>";
             $expl_ajout_ok = 0;
             $alert_sound_list[] = "critique";
         }
     }
 }
 $res_ajout = $myCart->pointe_item($item, "EXPL", $form_cb_expl, "EXPL_CB");
 print pmb_bidi(aff_cart_nb_items($myCart));
 // form de saisie cb exemplaire
 print get_cb_expl($msg["caddie_pointe_expl"], $msg[661], "./catalog.php?categ=caddie&sub=pointage&moyen=douchette&action=pointe_item&idcaddie={$idcaddie}", 1);
 if ($expl_ajout_ok) {
     if ($res_ajout == CADDIE_ITEM_OK) {
         print "<hr /><div class='row'><span class='erreur'>" . $msg["caddie_" . $myCart->type . "_pointe"] . "</span></div><hr />";
         print $begin_result_expl_liste_unique;
         print pmb_bidi(print_info($stuff, 0, 1));
     }
     if ($res_ajout == CADDIE_ITEM_NULL) {
         print "<hr /><div class='row'><span class='erreur'>{$msg['caddie_item_null']}</span></div><hr />";
         $alert_sound_list[] = "critique";
     }
     if ($res_ajout == CADDIE_ITEM_IMPOSSIBLE_BULLETIN) {
         print "<hr /><div class='row'><span class='erreur'>{$msg['caddie_pointe_item_impossible_bulletin']}</span></div><hr />";
         $alert_sound_list[] = "critique";
     }
     if ($res_ajout == CADDIE_ITEM_INEXISTANT) {
         print "<hr /><div class='row'><span class='erreur'>{$form_cb_expl}&nbsp;: {$msg['caddie_pointe_inconnu_panier']}</span></div><hr />";
         $alert_sound_list[] = "critique";
     }
 } else {
     print "<hr /><div class='row'><span class='erreur'>{$message_ajout_expl}</span></div><hr />";
开发者ID:noble82,项目名称:proyectos-ULS,代码行数:31,代码来源:douchette.inc.php

示例6: get_cb_expl

$prefix_url_image = "./";
if (!$back_to_visu) {
    get_cb_expl($msg[375], $msg[661], $msg[circ_tit_form_cb_expl], './circ.php?categ=visu_ex', 1);
    if ($form_cb_expl) {
        $query = "select expl_id, expl_notice, pret_flag, pret_idempr from docs_statut, exemplaires left join pret on pret_idexpl=expl_id where expl_cb='{$form_cb_expl}' and expl_statut=idstatut ";
        $result = pmb_mysql_query($query, $dbh);
        if (!pmb_mysql_num_rows($result)) {
            // exemplaire inconnu
            $alert_sound_list[] = "critique";
            print "<strong>{$form_cb_expl}&nbsp;: {$msg[367]}</strong>";
        } else {
            $expl_lu = pmb_mysql_fetch_object($result);
            if ($stuff = get_expl_info($expl_lu->expl_id, 1)) {
                $stuff = check_pret($stuff);
                // print $begin_result_liste;
                print print_info($stuff, 1, 1);
                // pour affichage de l'image de couverture
                if ($pmb_book_pics_show == '1' && ($pmb_book_pics_url && $stuff->code || $stuff->thumbnail_url)) {
                    print "<script type='text/javascript'>\n\t\t\t\t\t\t<!--\n\t\t\t\t\t\tvar img = document.getElementById('PMBimagecover" . $expl_lu->expl_notice . "');\n\t\t\t\t\t\tisbn=img.getAttribute('isbn');\n\t\t\t\t\t\turl_image=img.getAttribute('url_image');\n\t\t\t\t\t\tif (isbn) {\n\t\t\t\t\t\t\tif (img.src.substring(img.src.length-8,img.src.length)=='vide.png') {\n\t\t\t\t\t\t\t\timg.src=url_image.replace(/!!noticecode!!/,isbn);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\t\t\n\t\t\t\t\t\t//-->\n\t\t\t\t\t\t</script>\n\t\t\t\t\t\t";
                }
            } else {
                // exemplaire inconnu
                $alert_sound_list[] = "critique";
                print "<strong>{$form_cb_expl}&nbsp;: {$msg[367]}</strong>";
            }
        }
    }
} else {
    //droits d'acces lecture notice
    $acces_j = '';
    if ($gestion_acces_active == 1 && $gestion_acces_user_notice == 1) {
开发者ID:noble82,项目名称:proyectos-ULS,代码行数:31,代码来源:visu_ex.inc.php

示例7: Info

                 echo '</tr>';
             }
             echo '</tbody></table>';
         } else {
             echo 'Ukjent.';
         }
     }
 } else {
     if ($index_a[0] == "info") {
         //Book
         if (isset($index_a[1]) && isset($index_a[2])) {
             require 'info.class.php';
             $information = new Info($index_a[1], $index_a[2]);
             $info = $information->getInfo();
             if ($info != false) {
                 print_info($info);
             } else {
                 echo $info->error;
             }
         } else {
             echo "Mangler data :/";
         }
     } else {
         if ($index_a[0] == "create") {
             if (isset($index_a[1])) {
                 $fields = array('book' => array('verifyer' => 'title'), 'user' => array('verifyer' => 'firstname'), 'shelf' => array('verifyer' => 'name'));
                 if (isset($fields[$index_a[1]])) {
                     if (isset($_POST[$fields[$index_a[1]]['verifyer']])) {
                         //Fix the birth
                         $_POST['birth'] = $_POST['birth_year'] . "-" . $_POST['birth_month'] . "-" . $_POST['birth_day'] . " 00:00:00";
                         require 'book_and_user_functions.class.php';
开发者ID:toyenyouthlibrary,项目名称:backend,代码行数:31,代码来源:index.php

示例8: suffix_remove

    ?>
', '<?php 
    echo $token;
    ?>
');" title="®Back_to_album®">(<?php 
    echo suffix_remove($album);
    ?>
) <?php 
    echo get_album_title($album);
    ?>
</a>   
        <?php 
}
?>
        <div class="right-arrow"></div><?php 
print_info($asset_meta['title']);
?>
    </div>

    <div id="video_player">
        <!-- #main_video : HTML5 video player.
            There is no selected source by default.
            Video src is loaded when the user clicks on a link in the side pane.
            The video player is only displayed when an asset is selected. 
            If the current view is the home page or album page, the video player is
            replaced by a simple image.
        -->
        <div id="video_shortcuts">
            <div class="shortcuts">
                <ul>
                    <li><span class="key space"></span><span>®key_space®</span></li>
开发者ID:jingyexu,项目名称:ezcast,代码行数:31,代码来源:div_left_details.php

示例9: print_info

?>
_1" style="display:none">
  <p><span class="infosAvance">®Filesize_HD®&nbsp;:</span> <?php 
print_info($filesize_cam['HD'], ' ®Megabyte_unit®');
?>
</p>
  <p><span class="infosAvance">®Filesize_SD®&nbsp;:</span> <?php 
print_info($filesize_cam['SD'], ' ®Megabyte_unit®');
?>
</p>
  <p><span class="infosAvance">®Dimensions_HD®&nbsp;:</span> <?php 
print_info($dimensions_cam['HD']);
?>
</p>
  <p><span class="infosAvance">®Dimensions_SD®&nbsp;:</span> <?php 
print_info($dimensions_cam['SD']);
?>
</p>
<!--  <p><span class="infosAvance">®View_count®&nbsp;:</span> <?php 
echo $view_count_cam;
?>
</p> -->
</div>
<!-- Links to media -->
<span class="BoutonPublication"> <a href="javascript:visibilite('Publication_<?php 
echo $asset;
?>
_1');">®Publication®</a></span>


<!--div class="Publication" id="Publication_<?php 
开发者ID:jingyexu,项目名称:ezcast,代码行数:31,代码来源:div_media_details_camera.php

示例10: testNumberGenerator

function testNumberGenerator(PhpgwContext $c)
{
    $numberGeneratorInstance = get_external_generator();
    ###############################################################
    $logic_exception_if_no_active_transaction = false;
    try {
        $numberGeneratorInstance->increment();
    } catch (LogicException $e) {
        $logic_exception_if_no_active_transaction = true;
    }
    assert('$logic_exception_if_no_active_transaction') and pass_test('logic_exception_if_no_active_transaction');
    #############################################################
    print_info("Pre Transaction");
    $c->getDb()->transaction_begin();
    //Begin transaction
    $no_logic_exception_if_active_transaction = false;
    try {
        $numberGeneratorInstance->increment();
        $currentValue = $numberGeneratorInstance->get_current();
        $numberGeneratorInstance->increment();
        $numberGeneratorInstance->increment();
        $no_logic_exception_if_active_transaction = true;
    } catch (LogicException $e) {
    }
    $c->getDb()->transaction_abort();
    assert($no_logic_exception_if_active_transaction) and pass_test("no_logic_exception_if_active_transaction");
    print_info("Post Transaction");
    #############################################################
    $previousNumberGeneratorInstance = $numberGeneratorInstance;
    $numberGeneratorInstance = get_external_generator();
    $new_generator_is_created_post_transaction = $previousNumberGeneratorInstance != $numberGeneratorInstance;
    assert('$new_generator_is_created_post_transaction') and pass_test("new_generator_is_created_post_transaction");
    #############################################################
    print_info("Start Transaction");
    $c->getDb()->transaction_begin();
    //Begin transaction
    #############################################################
    $cannotGetCurrentWithoutLock = false;
    try {
        $numberGeneratorInstance->get_current();
    } catch (Exception $e) {
        print_info($e->getMessage());
        $cannotGetCurrentWithoutLock = true;
    }
    assert('$cannotGetCurrentWithoutLock') and pass_test("Cannot get current without lock");
    ##############################################################
    $canGetCurrentWithLock = false;
    $numberGeneratorInstance->increment();
    //Locked
    print_info("Locked (->increment)");
    $previousValue = $numberGeneratorInstance->get_current();
    $numberGeneratorInstance->increment();
    $canGetCurrentWithLock = true;
    assert($canGetCurrentWithLock) and pass_test("Able to get_current with lock");
    ############################################################
    assert('$numberGeneratorInstance->get_current() === $previousValue+1') and pass_test("Incremented value by one");
    ############################################################
    $c->getDb()->transaction_abort();
    print_info("Abort transaction");
    ############################################################
    $unableToUseGeneratorPostTransaction = false;
    try {
        $numberGeneratorInstance->get_current();
    } catch (LogicException $e) {
        $unableToUseGeneratorPostTransaction = true;
    }
    assert($unableToUseGeneratorPostTransaction) and pass_test("Unable to use generator post transaction");
    print_info("Sleep test");
    $c->getDb()->transaction_begin();
    //Begin transaction
    $numberGeneratorInstance = get_external_generator();
    sleep(4);
    for ($i = 0; $i < 10; $i++) {
        print_info($numberGeneratorInstance->increment()->get_current());
    }
    $c->getDb()->transaction_abort();
    sleep(4);
    print_info("Sleep test 2");
    $c->getDb()->transaction_begin();
    //Begin transaction
    $numberGeneratorInstance = get_external_generator();
    sleep(4);
    for ($i = 0; $i < 10; $i++) {
        print_info($numberGeneratorInstance->increment()->get_current());
    }
    $c->getDb()->transaction_commit();
    sleep(4);
}
开发者ID:HaakonME,项目名称:porticoestate,代码行数:88,代码来源:testNumberGenerator.php

示例11: Array

                    <?php 
    }
    if ($asset_meta['record_type'] == 'camslide' || $asset_meta['record_type'] == 'slide') {
        ?>
                    <a class="button <?php 
        echo $asset_meta['record_type'] == 'camslide' ? 'right-side' : '';
        ?>
" href="javascript:share_popup(current_album, current_asset, time, 'slide', 'share_link')" onclick="server_trace(new Array('3', 'slide_download_open', current_album, current_asset, duration, time, type, quality));"><?php 
        echo $asset_meta['record_type'] == 'camslide' ? '®The_slides®' : '®Download_slide®';
        ?>
</a>
                    <?php 
    }
}
?>

    </div>
    <?php 
if (isset($asset_meta['description']) && !empty($asset_meta['description'])) {
    ?>
        <div class="asset_details">
            <b class="green-title">®Description®:</b>
            <?php 
    print_info($asset_meta['description']);
    ?>
        </div>
    <?php 
}
?>

</div>
开发者ID:jingyexu,项目名称:ezcast,代码行数:31,代码来源:div_video_description.php

示例12: resa_ranger_list

function resa_ranger_list()
{
    global $dbh;
    global $msg;
    global $begin_result_liste;
    global $end_result_liste;
    $sql = "SELECT resa_cb, expl_id from resa_ranger left join exemplaires on resa_cb=expl_cb ";
    $res = mysql_query($sql, $dbh);
    while ($ranger = mysql_fetch_object($res)) {
        if ($ranger->expl_id) {
            if ($stuff = get_expl_info($ranger->expl_id)) {
                $stuff = check_pret($stuff);
                $aff_final .= print_info($stuff, 0, 0, 0);
            } else {
                $aff_final .= "<strong>{$form_cb_expl}&nbsp;: {$msg[395]}</strong>";
            }
        }
    }
    if ($aff_final) {
        return $begin_result_liste . $aff_final . $end_result_liste;
    } else {
        return $msg['resa_liste_docranger_nodoc'];
    }
}
开发者ID:bouchra012,项目名称:PMB,代码行数:24,代码来源:resa_func.inc.php

示例13: mb_strtoupper

    if ($thread['best_comment'] != NULL) {
        $best_comment = $thread['best_comment'];
        ?>
        <div class="cat">
            <label class="thread-cat-title"><?php 
        echo mb_strtoupper('®Best_answer®', 'UTF-8');
        ?>
</label>
        </div>
        <div class="best_reply">
            <div id="best-comment-message" onclick="javascript:scrollTo('comment_<?php 
        echo $best_comment['id'];
        ?>
');" style="cursor: pointer;">
                <?php 
        echo print_info(htmlspecialchars_decode($best_comment['message'], ENT_QUOTES), '', false);
        ?>
            </div>
            <label class="pull-left badge-score"><?php 
        echo sprintf("%02s", $best_comment['score']);
        ?>
</label>
            <div class="trophy-best-comment pull-left"></div>
        </div>
        <br />
    <?php 
    }
    ?>
    <div class="cat">
        <label class="thread-cat-title"><?php 
    echo mb_strtoupper('®Other_answers®', 'UTF-8');
开发者ID:jingyexu,项目名称:ezcast,代码行数:31,代码来源:div_thread_details.php

示例14: print_info

                        <li>
                            <a class="item" id="asset-<?php 
            echo $asset['name'];
            ?>
" href="javascript:show_asset_details('<?php 
            echo $album;
            ?>
', '<?php 
            echo $asset['name'];
            ?>
', '<?php 
            echo $asset['token'];
            ?>
');">
                                <b><?php 
            print_info(substr(get_user_friendly_date($asset['metadata']['record_date'], '/', false, get_lang(), false), 0, 10));
            ?>
</b> 
                                <div style="display:inline-block; width: 16px; height:1px;"></div>
                                <?php 
            echo $asset['metadata']['title'];
            ?>
                                <span class="<?php 
            if (acl_show_notifications() && !acl_is_watched($album, $asset['metadata']['record_date'])) {
                echo 'new';
            }
            ?>
" title="®New_video®"></span>
                            </a>       
                        </li>
                        <?php 
开发者ID:jingyexu,项目名称:ezcast,代码行数:31,代码来源:div_left_assets.php

示例15: print_info

                                        </a>
                                        <span class="more"><a class="more-button small orange" onclick="toggle_detail('<?php 
        echo $index;
        ?>
', 'toc', $(this));"></a></span>
                                        <div class="bookmark_detail" id="toc_detail_<?php 
        echo $index;
        ?>
">
                                            <div class="bookmark_info" id="toc_info_<?php 
        echo $index;
        ?>
">
                                                <div class="orange-title">®Description® :</div>
                                                <?php 
        print_info($bookmark['description']);
        ?>
                                                <div class="orange-title" style="margin-top: 6px;">®Keywords® : </div>
        <?php 
        print_search($bookmark['keywords']);
        ?>
                                            </div>

                                            <div class="edit_bookmark_form" id="edit_toc_<?php 
        echo $index;
        ?>
">            
                                                <input type="hidden" name="album" id="toc_album_<?php 
        echo $index;
        ?>
" value="<?php 
开发者ID:jingyexu,项目名称:ezcast,代码行数:31,代码来源:div_side_details.php


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