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


PHP print_liste_field_titre函数代码示例

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


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

示例1:

	{
		print '<tr class="liste_titre">';
		print '<td class="liste_titre" colspan="8">';
		print $moreforfilter;
		print '</td></tr>';
	}

	print '<tr class="liste_titre">';
	print_liste_field_titre($langs->trans("Name")." / ".$langs->trans("Company"),"liste.php","d.nom",$param,"","",$sortfield,$sortorder);
	print_liste_field_titre($langs->trans("Login"),"liste.php","d.login",$param,"","",$sortfield,$sortorder);
	print_liste_field_titre($langs->trans("Type"),"liste.php","t.libelle",$param,"","",$sortfield,$sortorder);
	print_liste_field_titre($langs->trans("Person"),"liste.php","d.morphy",$param,"","",$sortfield,$sortorder);
	print_liste_field_titre($langs->trans("EMail"),"liste.php","d.email",$param,"","",$sortfield,$sortorder);
	print_liste_field_titre($langs->trans("Status"),"liste.php","d.statut,d.datefin",$param,"","",$sortfield,$sortorder);
	print_liste_field_titre($langs->trans("EndSubscription"),"liste.php","d.datefin",$param,"",'align="center"',$sortfield,$sortorder);
	print_liste_field_titre($langs->trans("Action"),"liste.php","",$param,"",'width="60" align="center"',$sortfield,$sortorder);
	print "</tr>\n";

	// Lignes des champs de filtre
	print '<tr class="liste_titre">';

	print '<td class="liste_titre" align="left">';
	print '<input class="flat" type="text" name="search_nom" value="'.$_REQUEST["search_nom"].'" size="12"></td>';

	print '<td class="liste_titre" align="left">';
	print '<input class="flat" type="text" name="search_login" value="'.$_REQUEST["search_login"].'" size="7"></td>';

	print '<td class="liste_titre">';
	$listetype=$membertypestatic->liste_array();
	print $form->selectarray("type", $listetype, $_REQUEST["type"], 1, 0, 0, '', 0, 12);
	print '</td>';
开发者ID:remyyounes,项目名称:dolibarr,代码行数:31,代码来源:liste.php

示例2: print_liste_field_titre

 print '<table class="noborder" width="100%">';
 print "<tr class=\"liste_titre\">";
 //print_liste_field_titre($langs->trans("Id"),$_SERVER["PHP_SELF"], "m.rowid","",$param,"",$sortfield,$sortorder);
 print_liste_field_titre($langs->trans("Date"), $_SERVER["PHP_SELF"], "m.datem", "", $param, "", $sortfield, $sortorder);
 echo "<td></td>";
 print_liste_field_titre($langs->trans("LabelMovement"), $_SERVER["PHP_SELF"], "m.label", "", $param, "", $sortfield, $sortorder);
 // Checkpoint: eliminar la columna de origen
 // print_liste_field_titre($langs->trans("Source"),$_SERVER["PHP_SELF"], "m.label","",$param,"",$sortfield,$sortorder);
 print_liste_field_titre($langs->trans("ProductRef"), $_SERVER["PHP_SELF"], "p.ref", "", $param, "", $sortfield, $sortorder);
 print_liste_field_titre($langs->trans("ProductLabel"), $_SERVER["PHP_SELF"], "p.ref", "", $param, "", $sortfield, $sortorder);
 print_liste_field_titre('Almacén de Origen', $_SERVER["PHP_SELF"], "", "", $param, "", $sortfield, $sortorder);
 // We are on a specific warehouse card, no filter on other should be possible
 print_liste_field_titre('Almacén Destino', $_SERVER["PHP_SELF"], "", "", $param, "", $sortfield, $sortorder);
 // We are on a specific warehouse card, no filter on other should be possible
 print_liste_field_titre($langs->trans("Author"), $_SERVER["PHP_SELF"], "m.fk_user_author", "", $param, "", $sortfield, $sortorder);
 print_liste_field_titre($langs->trans("Units"), $_SERVER["PHP_SELF"], "m.value", "", $param, 'align="right"', $sortfield, $sortorder);
 print "</tr>\n";
 // Lignes des champs de filtre
 print '<form method="get" action="' . $_SERVER["PHP_SELF"] . '">';
 if ($id) {
     print '<input type="hidden" name="id" value="' . $id . '">';
 }
 // Checkpoint: fecha
 print '<tr class="liste_titre">';
 print '<td class="liste_titre" valign="right">';
 print $langs->trans('Date') . ': <input class="flat" type="text" size="11" maxlength="10" name="date_ini" value="' . $date_ini . '"> - <input class="flat" type="text" size="11" maxlength="10" name="date_fin" value="' . $date_fin . '">';
 //print '&nbsp;'.$langs->trans('Year').': ';
 //$syear = GETPOST('year')?GETPOST('year'):-1;
 //$formother->select_year($syear,'year',1, 20, 5);
 print '</td>';
 echo '<td>';
开发者ID:LionSystemsSolutions,项目名称:El-Canelo-ERP,代码行数:31,代码来源:mouvement.intentohector.php

示例3: print_liste_field_titre

 /* Affichage de la liste des produits de l'entrepot                           */
 /*                                                                            */
 /* ************************************************************************** */
 print '<br>';
 print '<table class="noborder" width="100%">';
 print "<tr class=\"liste_titre\">";
 print_liste_field_titre($langs->trans("Product"), "", "p.ref", "&amp;id=" . $id, "", "", $sortfield, $sortorder);
 print_liste_field_titre($langs->trans("Label"), "", "p.label", "&amp;id=" . $id, "", "", $sortfield, $sortorder);
 print_liste_field_titre($langs->trans("Units"), "", "ps.reel", "&amp;id=" . $id, "", 'align="right"', $sortfield, $sortorder);
 print_liste_field_titre($langs->trans("AverageUnitPricePMPShort"), "", "ps.pmp", "&amp;id=" . $id, "", 'align="right"', $sortfield, $sortorder);
 print_liste_field_titre($langs->trans("EstimatedStockValueShort"), "", "", "&amp;id=" . $id, "", 'align="right"', $sortfield, $sortorder);
 if (empty($conf->global->PRODUIT_MULTIPRICES)) {
     print_liste_field_titre($langs->trans("SellPriceMin"), "", "p.price", "&amp;id=" . $id, "", 'align="right"', $sortfield, $sortorder);
 }
 if (empty($conf->global->PRODUIT_MULTIPRICES)) {
     print_liste_field_titre($langs->trans("EstimatedStockValueSellShort"), "", "", "&amp;id=" . $id, "", 'align="right"', $sortfield, $sortorder);
 }
 if ($user->rights->stock->mouvement->creer) {
     print '<td>&nbsp;</td>';
 }
 if ($user->rights->stock->creer) {
     print '<td>&nbsp;</td>';
 }
 print "</tr>";
 $totalunit = 0;
 $totalvalue = $totalvaluesell = 0;
 $sql = "SELECT p.rowid as rowid, p.ref, p.label as produit, p.fk_product_type as type, p.pmp as ppmp, p.price, p.price_ttc,";
 $sql .= " ps.pmp, ps.reel as value";
 $sql .= " FROM " . MAIN_DB_PREFIX . "product_stock ps, " . MAIN_DB_PREFIX . "product p";
 $sql .= " WHERE ps.fk_product = p.rowid";
 $sql .= " AND ps.reel <> 0";
开发者ID:LionSystemsSolutions,项目名称:El-Canelo-ERP,代码行数:31,代码来源:fiche.php

示例4: print_liste_field_titre

     print '<tr class="liste_titre">';
     print '<td class="liste_titre" colspan="10">';
     print $moreforfilter;
     print '</td></tr>';
 }
 print '<tr class="liste_titre">';
 print_liste_field_titre($langs->trans('Ref'), $_SERVER["PHP_SELF"], 'p.ref', '', $param, '', $sortfield, $sortorder);
 print_liste_field_titre($langs->trans('RefCustomer'), $_SERVER["PHP_SELF"], 'p.ref_client', '', $param, '', $sortfield, $sortorder);
 print_liste_field_titre($langs->trans('Company'), $_SERVER["PHP_SELF"], 's.nom', '', $param, '', $sortfield, $sortorder);
 print_liste_field_titre($langs->trans('Town'), $_SERVER["PHP_SELF"], 's.town', '', $param, '', $sortfield, $sortorder);
 print_liste_field_titre($langs->trans('Date'), $_SERVER["PHP_SELF"], 'p.datep', '', $param, 'align="center"', $sortfield, $sortorder);
 print_liste_field_titre($langs->trans('DateEndPropalShort'), $_SERVER["PHP_SELF"], 'dfv', '', $param, 'align="center"', $sortfield, $sortorder);
 print_liste_field_titre($langs->trans('AmountHT'), $_SERVER["PHP_SELF"], 'p.total_ht', '', $param, 'align="right"', $sortfield, $sortorder);
 print_liste_field_titre($langs->trans('Author'), $_SERVER["PHP_SELF"], 'u.login', '', $param, 'align="center"', $sortfield, $sortorder);
 print_liste_field_titre($langs->trans('Status'), $_SERVER["PHP_SELF"], 'p.fk_statut', '', $param, 'align="right"', $sortfield, $sortorder);
 print_liste_field_titre('', $_SERVER["PHP_SELF"], "", '', '', '', $sortfield, $sortorder, 'maxwidthsearch ');
 print "</tr>\n";
 print '<tr class="liste_titre">';
 print '<td class="liste_titre">';
 print '<input class="flat" size="6" type="text" name="search_ref" value="' . $search_ref . '">';
 print '</td>';
 print '<td class="liste_titre">';
 print '<input class="flat" size="6" type="text" name="search_refcustomer" value="' . $search_refcustomer . '">';
 print '</td>';
 print '<td class="liste_titre" align="left">';
 print '<input class="flat" type="text" size="12" name="search_societe" value="' . $search_societe . '">';
 print '</td>';
 print '<td class="liste_titre"><input class="flat" type="text" size="10" name="search_town" value="' . $search_town . '"></td>';
 // Date
 print '<td class="liste_titre" colspan="1" align="center">';
 //print $langs->trans('Month').': ';
开发者ID:TAASA,项目名称:Dolibarr-ERP-3.8.1,代码行数:31,代码来源:list.php

示例5: print_liste_field_titre

     print '<div class="error">';
     $langs->load("errors");
     $countrynotdefined = $langs->trans("ErrorSetACountryFirst");
     print $countrynotdefined;
     print '</div>';
 } else {
     print '<form method="GET" action="' . $_SERVER["PHP_SELF"] . '">';
     print "<table class=\"noborder\" width=\"100%\">";
     print "<tr class=\"liste_titre\">";
     print_liste_field_titre($langs->trans("Ref"), $_SERVER["PHP_SELF"], "id", "", $param, "", $sortfield, $sortorder);
     print_liste_field_titre($langs->trans("Label"), $_SERVER["PHP_SELF"], "cs.libelle", "", $param, 'align="left"', $sortfield, $sortorder);
     print_liste_field_titre($langs->trans("Type"), $_SERVER["PHP_SELF"], "type", "", $param, 'align="left"', $sortfield, $sortorder);
     print_liste_field_titre($langs->trans("PeriodEndDate"), $_SERVER["PHP_SELF"], "periode", "", $param, 'align="center"', $sortfield, $sortorder);
     print_liste_field_titre($langs->trans("Amount"), $_SERVER["PHP_SELF"], "cs.amount", "", $param, 'align="right"', $sortfield, $sortorder);
     print_liste_field_titre($langs->trans("DateDue"), $_SERVER["PHP_SELF"], "cs.date_ech", "", $param, 'align="center"', $sortfield, $sortorder);
     print_liste_field_titre($langs->trans("Status"), $_SERVER["PHP_SELF"], "cs.paye", "", $param, 'align="right"', $sortfield, $sortorder);
     print "</tr>\n";
     print '<tr class="liste_titre">';
     print '<td class="liste_titre">&nbsp;</td>';
     print '<td class="liste_titre"><input type="text" class="flat" size="8" name="search_label" value="' . GETPOST("search_label") . '"></td>';
     // Type
     print '<td class="liste_titre" align="left">';
     $formsocialcontrib->select_type_socialcontrib($typeid, 'typeid', 1, 16, 0);
     print '</td>';
     // Period end date
     print '<td class="liste_titre">&nbsp;</td>';
     print '<td class="liste_titre">&nbsp;</td>';
     print '<td class="liste_titre">&nbsp;</td>';
     print '<td class="liste_titre" align="right">';
     print '<input type="image" class="liste_titre" src="' . img_picto($langs->trans("Search"), 'search.png', '', '', 1) . '" name="button_search" value="' . dol_escape_htmltag($langs->trans("Search")) . '" title="' . dol_escape_htmltag($langs->trans("Search")) . '">';
     print '</td>';
开发者ID:LionSystemsSolutions,项目名称:El-Canelo-ERP,代码行数:31,代码来源:index.php

示例6: print_barre_liste

     $sql .= ' AND f.fk_soc = ' . $socid;
 }
 $sql .= ' ORDER BY ' . $sortfield . ' ' . $sortorder;
 $sql .= $db->plimit($limit + 1, $offset);
 $resql = $db->query($sql);
 if ($resql) {
     $num = $db->num_rows($resql);
     $i = 0;
     $var = True;
     print_barre_liste($langs->trans('Payments'), $page, 'paiement.php', '', $sortfield, $sortorder, '', $num);
     print '<table class="noborder" width="100%">';
     print '<tr class="liste_titre">';
     print_liste_field_titre($langs->trans('Invoice'), 'paiement.php', 'facnumber', '', '', '', $sortfield, $sortorder);
     print_liste_field_titre($langs->trans('Date'), 'paiement.php', 'dp', '', '', '', $sortfield, $sortorder);
     print_liste_field_titre($langs->trans('Type'), 'paiement.php', 'libelle', '', '', '', $sortfield, $sortorder);
     print_liste_field_titre($langs->trans('Amount'), 'paiement.php', 'fa_amount', '', '', 'align="right"', $sortfield, $sortorder);
     print '<td>&nbsp;</td>';
     print "</tr>\n";
     while ($i < min($num, $limit)) {
         $objp = $db->fetch_object($resql);
         $var = !$var;
         print '<tr ' . $bc[$var] . '>';
         print '<td><a href="facture.php?facid=' . $objp->facid . '">' . $objp->facnumber . "</a></td>\n";
         print '<td>' . dol_print_date($db->jdate($objp->dp)) . "</td>\n";
         print '<td>' . $objp->paiement_type . ' ' . $objp->num_paiement . "</td>\n";
         print '<td align="right">' . price($objp->amount) . '</td><td>&nbsp;</td>';
         print '</tr>';
         $i++;
     }
     print '</table>';
 }
开发者ID:netors,项目名称:dolibarr,代码行数:31,代码来源:paiement.php

示例7: array

} else {
    if ($action == 'lock') {
        $formquestion = array();
        print $form->formconfirm($_SERVER["PHP_SELF"] . '?noparam=noparam', $langs->trans('LockNewSessions'), $langs->trans('ConfirmLockNewSessions', $user->login), 'confirm_lock', $formquestion, 'no', 1);
    }
}
if ($savehandler == 'files') {
    print '<table class="liste" width="100%">';
    print '<tr class="liste_titre">';
    print_liste_field_titre($langs->trans("Login"), $_SERVER["PHP_SELF"], "login", "", "", 'align="left"', $sortfield, $sortorder);
    print_liste_field_titre($langs->trans("SessionId"), $_SERVER["PHP_SELF"], "id", "", "", 'align="left"', $sortfield, $sortorder);
    print_liste_field_titre($langs->trans("DateCreation"), $_SERVER["PHP_SELF"], "datec", "", "", 'align="left"', $sortfield, $sortorder);
    print_liste_field_titre($langs->trans("DateModification"), $_SERVER["PHP_SELF"], "datem", "", "", 'align="left"', $sortfield, $sortorder);
    print_liste_field_titre($langs->trans("Age"), $_SERVER["PHP_SELF"], "age", "", "", 'align="left"', $sortfield, $sortorder);
    print_liste_field_titre($langs->trans("Raw"), $_SERVER["PHP_SELF"], "raw", "", "", 'align="left"', $sortfield, $sortorder);
    print_liste_field_titre('', '', '');
    print "</tr>\n";
    $var = True;
    foreach ($listofsessions as $key => $sessionentry) {
        $var = !$var;
        print "<tr " . $bc[$var] . ">";
        // Login
        print '<td>' . $sessionentry['login'] . '</td>';
        // ID
        print '<td align="left" class="nowrap">';
        if ("{$key}" == session_id()) {
            print $form->textwithpicto($key, $langs->trans("YourSession"));
        } else {
            print $key;
        }
        print '</td>';
开发者ID:LionSystemsSolutions,项目名称:El-Canelo-ERP,代码行数:31,代码来源:listsessions.php

示例8: Contrat

		$result = $db->query($sql);
		if ($result)
		{
			$num = $db->num_rows($result);

			print_barre_liste($langs->trans("Contrats"),$page,$_SERVER["PHP_SELF"],"&amp;id=$product->id",$sortfield,$sortorder,'',$num,0,'');

			$i = 0;
			print "<table class=\"noborder\" width=\"100%\">";

			print '<tr class="liste_titre">';
			print_liste_field_titre($langs->trans("Ref"),$_SERVER["PHP_SELF"],"c.rowid","","&amp;id=".$_GET["id"],'',$sortfield,$sortorder);
			print_liste_field_titre($langs->trans("Company"),$_SERVER["PHP_SELF"],"s.nom","","&amp;id=".$_GET["id"],'',$sortfield,$sortorder);
			print_liste_field_titre($langs->trans("CustomerCode"),$_SERVER["PHP_SELF"],"s.code_client","","&amp;id=".$_GET["id"],'',$sortfield,$sortorder);
			print_liste_field_titre($langs->trans("Date"),$_SERVER["PHP_SELF"],"c.date_contrat","","&amp;id=".$_GET["id"],'align="center"',$sortfield,$sortorder);
			//print_liste_field_titre($langs->trans("AmountHT"),$_SERVER["PHP_SELF"],"c.amount","","&amp;id=".$_GET["id"],'align="right"',$sortfield,$sortorder);
			print '<td class="liste_titre" width="16">'.$staticcontratligne->LibStatut(0,3).'</td>';
			print '<td class="liste_titre" width="16">'.$staticcontratligne->LibStatut(4,3).'</td>';
			print '<td class="liste_titre" width="16">'.$staticcontratligne->LibStatut(5,3).'</td>';
			print "</tr>\n";

			$contratstatic=new Contrat($db);

			if ($num > 0)
			{
				$var=True;
				while ($i < $num && $i < $conf->liste_limit)
				{
					$objp = $db->fetch_object($result);
					$var=!$var;
开发者ID:remyyounes,项目名称:dolibarr,代码行数:30,代码来源:contrat.php

示例9: urlencode

     $urlparam .= "&search_status=" . urlencode($search_status);
 }
 print_barre_liste($langs->trans("ListOfInterventions"), $page, $_SERVER['PHP_SELF'], $urlparam, $sortfield, $sortorder, '', $num);
 print '<form method="POST" action="' . $_SERVER["PHP_SELF"] . '">' . "\n";
 print '<table class="noborder" width="100%">';
 print '<tr class="liste_titre">';
 print_liste_field_titre($langs->trans("Ref"), $_SERVER["PHP_SELF"], "f.ref", "", $urlparam, 'width="15%"', $sortfield, $sortorder);
 print_liste_field_titre($langs->trans("Company"), $_SERVER["PHP_SELF"], "s.nom", "", $urlparam, '', $sortfield, $sortorder);
 print_liste_field_titre($langs->trans("Description"), $_SERVER["PHP_SELF"], "f.description", "", $urlparam, '', $sortfield, $sortorder);
 if (empty($conf->global->FICHINTER_DISABLE_DETAILS)) {
     print_liste_field_titre('', $_SERVER["PHP_SELF"], '');
     print_liste_field_titre($langs->trans("Date"), $_SERVER["PHP_SELF"], "fd.date", "", $urlparam, 'align="center"', $sortfield, $sortorder);
     print_liste_field_titre($langs->trans("Duration"), $_SERVER["PHP_SELF"], "fd.duree", "", $urlparam, 'align="right"', $sortfield, $sortorder);
 }
 print_liste_field_titre($langs->trans("Status"), $_SERVER["PHP_SELF"], "f.fk_statut", "", $urlparam, 'align="right"', $sortfield, $sortorder);
 print_liste_field_titre('', $_SERVER["PHP_SELF"], '');
 print "</tr>\n";
 print '<tr class="liste_titre">';
 print '<td class="liste_titre">';
 print '<input type="text" class="flat" name="search_ref" value="' . $search_ref . '" size="8">';
 print '</td><td class="liste_titre">';
 print '<input type="text" class="flat" name="search_company" value="' . $search_company . '" size="10">';
 print '</td><td class="liste_titre">';
 print '<input type="text" class="flat" name="search_desc" value="' . $search_desc . '" size="12">';
 print '</td>';
 if (empty($conf->global->FICHINTER_DISABLE_DETAILS)) {
     // Desc of line
     print '<td class="liste_titre">&nbsp;</td>';
     print '<td class="liste_titre">&nbsp;</td>';
     print '<td class="liste_titre">&nbsp;</td>';
 }
开发者ID:ADDAdev,项目名称:Dolibarr,代码行数:31,代码来源:list.php

示例10: Expedition

$sql .= $db->order($sortfield, $sortorder);
$sql .= $db->plimit($limit + 1, $offset);
$resql = $db->query($sql);
if ($resql) {
    $num = $db->num_rows($resql);
    $expedition = new Expedition($db);
    $param = "&amp;socid={$socid}";
    print_barre_liste($langs->trans('ListOfSendings'), $page, "liste.php", $param, $sortfield, $sortorder, '', $num);
    $i = 0;
    print '<table class="noborder" width="100%">';
    print '<tr class="liste_titre">';
    print_liste_field_titre($langs->trans("Ref"), "liste.php", "e.ref", "", $param, '', $sortfield, $sortorder);
    print_liste_field_titre($langs->trans("Company"), "liste.php", "s.nom", "", $param, 'align="left"', $sortfield, $sortorder);
    print_liste_field_titre($langs->trans("DateDeliveryPlanned"), "liste.php", "e.date_delivery", "", $param, 'align="center"', $sortfield, $sortorder);
    print_liste_field_titre($langs->trans("DateReceived"), "liste.php", "e.date_expedition", "", $param, 'align="center"', $sortfield, $sortorder);
    print_liste_field_titre($langs->trans("Status"), "liste.php", "e.fk_statut", "", $param, 'align="right"', $sortfield, $sortorder);
    print "</tr>\n";
    $var = True;
    while ($i < min($num, $limit)) {
        $objp = $db->fetch_object($resql);
        $var = !$var;
        print "<tr {$bc[$var]}>";
        print "<td>";
        $shipment->id = $objp->rowid;
        $shipment->ref = $objp->ref;
        print $shipment->getNomUrl(1);
        print "</td>\n";
        // Third party
        print '<td>';
        $companystatic->id = $objp->socid;
        $companystatic->ref = $objp->socname;
开发者ID:nrjacker4,项目名称:crm-php,代码行数:31,代码来源:liste.php

示例11: print_liste_field_titre

 if (preg_match('/^pv/', $sortfield)) {
     $sql .= $db->order($sortfield, $sortorder);
 }
 $result = $db->query($sql);
 if ($result) {
     $num = $db->num_rows($result);
     $i = 0;
     $total = 0;
     print '<table class="noborder" width="100%">';
     print '<tr class="liste_titre">';
     print_liste_field_titre($langs->trans("PeriodEndDate"), $_SERVER["PHP_SELF"], "pv.datev", "", $param, 'width="120"', $sortfield, $sortorder);
     print_liste_field_titre($langs->trans("Label"), $_SERVER["PHP_SELF"], "pv.label", "", $param, '', $sortfield, $sortorder);
     print_liste_field_titre($langs->trans("ExpectedToPay"), $_SERVER["PHP_SELF"], "pv.amount", "", $param, 'align="right"', $sortfield, $sortorder);
     print_liste_field_titre($langs->trans("RefPayment"), $_SERVER["PHP_SELF"], "pv.rowid", "", $param, '', $sortfield, $sortorder);
     print_liste_field_titre($langs->trans("DatePayment"), $_SERVER["PHP_SELF"], "pv.datep", "", $param, 'align="center"', $sortfield, $sortorder);
     print_liste_field_titre($langs->trans("PayedByThisPayment"), $_SERVER["PHP_SELF"], "pv.amount", "", $param, 'align="right"', $sortfield, $sortorder);
     print "</tr>\n";
     $var = 1;
     while ($i < $num) {
         $obj = $db->fetch_object($result);
         $total = $total + $obj->amount;
         $var = !$var;
         print "<tr " . $bc[$var] . ">";
         print '<td align="left">' . dol_print_date($db->jdate($obj->dm), 'day') . '</td>' . "\n";
         print "<td>" . $obj->label . "</td>\n";
         print '<td align="right">' . price($obj->amount) . "</td>";
         // Ref payment
         $tva_static->id = $obj->rowid;
         $tva_static->ref = $obj->rowid;
         print '<td align="left">' . $tva_static->getNomUrl(1) . "</td>\n";
         print '<td align="center">' . dol_print_date($db->jdate($obj->dp), 'day') . "</td>\n";
开发者ID:ADDAdev,项目名称:Dolibarr,代码行数:31,代码来源:index.php

示例12: print_barre_liste

}
$sql .= " AND p.statut = 0";
$sql .= " ORDER BY {$sortfield} {$sortorder}";
$sql .= $db->plimit($limit + 1, $offset);
$resql = $db->query($sql);
if ($resql) {
    $num = $db->num_rows($resql);
    $i = 0;
    $var = True;
    print_barre_liste($langs->trans("ReceivedCustomersPaymentsToValid"), $page, $_SERVER["PHP_SELF"], "", $sortfield, $sortorder, '', $num);
    print '<table class="noborder" width="100%">';
    print '<tr class="liste_titre">';
    print_liste_field_titre($langs->trans("Ref"), $_SERVER["PHP_SELF"], "p.rowid", "", "", 'width="60"', $sortfield, $sortorder);
    print_liste_field_titre($langs->trans("Date"), $_SERVER["PHP_SELF"], "dp", "", "", 'width="80" align="center"', $sortfield, $sortorder);
    print_liste_field_titre($langs->trans("Type"), $_SERVER["PHP_SELF"], "c.libelle", "", "", "", $sortfield, $sortorder);
    print_liste_field_titre($langs->trans("AmountTTC"), $_SERVER["PHP_SELF"], "c.libelle", "", "", 'align="right"', $sortfield, $sortorder);
    print "<td>&nbsp;</td>";
    print "</tr>\n";
    while ($i < min($num, $limit)) {
        $objp = $db->fetch_object($resql);
        $var = !$var;
        print "<tr " . $bc[$var] . ">";
        print '<td><a href="' . DOL_URL_ROOT . '/compta/paiement/card.php?id=' . $objp->rowid . '">' . img_object($langs->trans("ShowPayment"), "payment") . ' ' . $objp->rowid . '</a></td>';
        print '<td width="80" align="center">' . dol_print_date($db->jdate($objp->dp), 'day') . "</td>\n";
        print "<td>{$objp->paiement_type} {$objp->num_paiement}</td>\n";
        print '<td align="right">' . price($objp->amount) . '</td>';
        print '<td align="center">';
        if ($objp->statut == 0) {
            print '<a href="card.php?id=' . $objp->rowid . '&amp;action=valide">' . $langs->trans("PaymentStatusToValidShort") . '</a>';
        } else {
            print "-";
开发者ID:ADDAdev,项目名称:Dolibarr,代码行数:31,代码来源:avalider.php

示例13: print_barre_liste

 $sql .= " ORDER BY {$sortfield} {$sortorder} ";
 $sql .= $db->plimit($conf->liste_limit + 1, $offset);
 $result = $db->query($sql);
 if ($result) {
     $num = $db->num_rows($result);
     print_barre_liste($langs->trans("SuppliersOrders"), $page, $_SERVER["PHP_SELF"], "&amp;id={$product->id}", $sortfield, $sortorder, '', $num, 0, '');
     $i = 0;
     print "<table class=\"noborder\" width=\"100%\">";
     print '<tr class="liste_titre">';
     print_liste_field_titre($langs->trans("Ref"), $_SERVER["PHP_SELF"], "c.rowid", "", "&amp;id=" . $product->id, '', $sortfield, $sortorder);
     print_liste_field_titre($langs->trans("Company"), $_SERVER["PHP_SELF"], "s.nom", "", "&amp;id=" . $product->id, '', $sortfield, $sortorder);
     print_liste_field_titre($langs->trans("SupplierCode"), $_SERVER["PHP_SELF"], "s.code_client", "", "&amp;id=" . $product->id, '', $sortfield, $sortorder);
     print_liste_field_titre($langs->trans("OrderDate"), $_SERVER["PHP_SELF"], "c.date_commande", "", "&amp;id=" . $product->id, 'align="center"', $sortfield, $sortorder);
     print_liste_field_titre($langs->trans("Qty"), $_SERVER["PHP_SELF"], "d.qty", "", "&amp;id=" . $product->id, 'align="center"', $sortfield, $sortorder);
     print_liste_field_titre($langs->trans("AmountHT"), $_SERVER["PHP_SELF"], "c.total_ht", "", "&amp;id=" . $product->id, 'align="right"', $sortfield, $sortorder);
     print_liste_field_titre($langs->trans("Status"), $_SERVER["PHP_SELF"], "c.fk_statut", "", "&amp;id=" . $product->id, 'align="right"', $sortfield, $sortorder);
     print "</tr>\n";
     $commandestatic = new CommandeFournisseur($db);
     if ($num > 0) {
         $var = True;
         while ($i < $num && $i < $conf->liste_limit) {
             $objp = $db->fetch_object($result);
             $var = !$var;
             $commandestatic->id = $objp->commandeid;
             $commandestatic->ref = $objp->ref;
             $commandestatic->statut = $objp->statut;
             print "<tr " . $bc[$var] . ">";
             print '<td>' . $commandestatic->getNomUrl(1) . "</td>\n";
             print "</a></td>\n";
             print '<td><a href="' . DOL_URL_ROOT . '/fourn/card.php?socid=' . $objp->socid . '">' . img_object($langs->trans("ShowCompany"), "company") . ' ' . dol_trunc($objp->name, 44) . '</a></td>';
             print "<td>" . $objp->code_client . "</td>\n";
开发者ID:ADDAdev,项目名称:Dolibarr,代码行数:31,代码来源:commande_fournisseur.php

示例14: Fichinter

$result = $db->query($sql);
if ($result) {
    $num = $db->num_rows($result);
    $interventionstatic = new Fichinter($db);
    $urlparam = "&amp;socid={$socid}";
    print_barre_liste($langs->trans("ListOfInterventions"), $page, "list.php", $urlparam, $sortfield, $sortorder, '', $num);
    print '<form method="get" action="' . $_SERVER["PHP_SELF"] . '">' . "\n";
    print '<table class="noborder" width="100%">';
    print "<tr class=\"liste_titre\">";
    print_liste_field_titre($langs->trans("Ref"), $_SERVER["PHP_SELF"], "f.ref", "", $urlparam, 'width="15%"', $sortfield, $sortorder);
    print_liste_field_titre($langs->trans("Company"), $_SERVER["PHP_SELF"], "s.nom", "", $urlparam, '', $sortfield, $sortorder);
    print_liste_field_titre($langs->trans("Description"), $_SERVER["PHP_SELF"], "f.description", "", $urlparam, '', $sortfield, $sortorder);
    print_liste_field_titre('', $_SERVER["PHP_SELF"], '');
    print_liste_field_titre($langs->trans("Date"), $_SERVER["PHP_SELF"], "fd.date", "", $urlparam, 'align="center"', $sortfield, $sortorder);
    print_liste_field_titre($langs->trans("Duration"), $_SERVER["PHP_SELF"], "fd.duree", "", $urlparam, 'align="right"', $sortfield, $sortorder);
    print_liste_field_titre($langs->trans("Status"), $_SERVER["PHP_SELF"], "f.fk_statut", "", $urlparam, 'align="right"', $sortfield, $sortorder);
    print "</tr>\n";
    print '<tr class="liste_titre">';
    print '<td class="liste_titre">';
    print '<input type="text" class="flat" name="search_ref" value="' . $search_ref . '" size="8">';
    print '</td><td class="liste_titre">';
    print '<input type="text" class="flat" name="search_company" value="' . $search_company . '" size="10">';
    print '</td><td class="liste_titre">';
    print '<input type="text" class="flat" name="search_desc" value="' . $search_desc . '" size="12">';
    print '</td>';
    print '<td class="liste_titre">&nbsp;</td>';
    print '<td class="liste_titre">&nbsp;</td>';
    print '<td class="liste_titre">&nbsp;</td>';
    print '<td class="liste_titre" align="right"><input class="liste_titre" type="image" src="' . DOL_URL_ROOT . '/theme/' . $conf->theme . '/img/search.png" value="' . dol_escape_htmltag($langs->trans("Search")) . '" title="' . dol_escape_htmltag($langs->trans("Search")) . '"></td>';
    print "</tr>\n";
    $companystatic = new Societe($db);
开发者ID:nrjacker4,项目名称:crm-php,代码行数:31,代码来源:list.php

示例15: llxHeader

    $num = $db->num_rows($result);

    $i = 0;

    $help_url='EN:Module_Stocks_En|FR:Module_Stock|ES:M&oacute;dulo_Stocks';
    llxHeader("",$langs->trans("EnhancedValueOfWarehouses"),$help_url);

    print_barre_liste($langs->trans("EnhancedValueOfWarehouses"), $page, "valo.php", "", $sortfield, $sortorder,'',$num);

    print '<table class="noborder" width="100%">';
    print "<tr class=\"liste_titre\">";
    print_liste_field_titre($langs->trans("Ref"),"valo.php", "e.label","","","",$sortfield,$sortorder);
    print_liste_field_titre($langs->trans("LocationSummary"),"valo.php", "e.lieu","","","",$sortfield,$sortorder);
    print_liste_field_titre($langs->trans("EstimatedStockValue"),"valo.php", "e.valo_pmp",'','','align="right"',$sortfield,$sortorder);
    print_liste_field_titre($langs->trans("EstimatedStockValueSell"),"", "",'','','align="right"',$sortfield,$sortorder);
    print_liste_field_titre($langs->trans("Status"),"valo.php", "e.statut",'','','align="right"',$sortfield,$sortorder);
    print "</tr>\n";

    if ($num)
    {
        $entrepot=new Entrepot($db);
        $total = $totalsell = 0;
        $var=false;
        while ($i < min($num,$limit))
        {
            $objp = $db->fetch_object($result);
            print "<tr $bc[$var]>";
            print '<td><a href="fiche.php?id='.$objp->ref.'">'.img_object($langs->trans("ShowWarehouse"),'stock').' '.$objp->label.'</a></td>';
            print '<td>'.$objp->lieu.'</td>';
            // PMP value
            print '<td align="right">';
开发者ID:nrjacker4,项目名称:crm-php,代码行数:31,代码来源:valo.php


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