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


PHP img_previous函数代码示例

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


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

示例1: price

            print "</tr>\n";
            $i++;
        }
        print '<tr class="liste_total"><td align="right">' . $langs->trans("Total") . " :</td><td class=\"nowrap\" align=\"right\"><b>" . price($total) . "</b></td><td>&nbsp;</td></tr>";
        print "</table>";
        $db->free($result);
    } else {
        dol_print_error($db);
    }
}
/*
 * View
 */
llxHeader();
$tva = new Tva($db);
$textprevyear = "<a href=\"index.php?year=" . ($year_current - 1) . "\">" . img_previous() . "</a>";
$textnextyear = " <a href=\"index.php?year=" . ($year_current + 1) . "\">" . img_next() . "</a>";
print_fiche_titre($langs->trans("VAT"), "{$textprevyear} " . $langs->trans("Year") . " {$year_start} {$textnextyear}");
print $langs->trans("VATReportBuildWithOptionDefinedInModule") . '<br>';
print '(' . $langs->trans("TaxModuleSetupToModifyRules", DOL_URL_ROOT . '/admin/taxes.php') . ')<br>';
print '<br>';
print '<table width="100%" class="notopnoleftnoright">';
print '<tr><td class="notopnoleft" width="50%">';
print_titre($langs->trans("VATSummary"));
// The report mode is the one defined by defaut in tax module setup
//print $modetax;
//print '('.$langs->trans("SeeVATReportInInputOutputMode",'<a href="'.$_SERVER["PHP_SELF"].'?year='.$year_start.'&modetax=0">','</a>').')';
print '</td><td>';
print_titre($langs->trans("VATPaid"));
print '</td></tr>';
print '<tr><td class="notopnoleft" width="50%" valign="top">';
开发者ID:TAASA,项目名称:Dolibarr-ERP-3.8.1,代码行数:31,代码来源:index.php

示例2: while

if ($resql) {
    $num = $db->num_rows($resql);
    $i = 0;
    while ($i < $num) {
        $row = $db->fetch_row($resql);
        $decaiss[$row[1]] = -$row[0];
        $i++;
    }
} else {
    dol_print_error($db);
}
// Onglets
$head = bank_prepare_head($acct);
dol_fiche_head($head, 'annual', $langs->trans("FinancialAccount"), 0, 'account');
$title = $langs->trans("FinancialAccount") . " : " . $acct->label;
$link = $year_start ? "<a href='" . $_SERVER["PHP_SELF"] . "?account=" . $acct->id . "&year_start=" . ($year_start - 1) . "'>" . img_previous() . "</a> " . $langs->trans("Year") . " <a href='" . $_SERVER["PHP_SELF"] . "?account=" . $acct->id . "&year_start=" . ($year_start + 1) . "'>" . img_next() . "</a>" : "";
print '<table class="border" width="100%">';
$linkback = '<a href="' . DOL_URL_ROOT . '/compta/bank/index.php">' . $langs->trans("BackToList") . '</a>';
// Ref
print '<tr><td width="25%">' . $langs->trans("Ref") . '</td>';
print '<td colspan="3">';
if ($_GET["account"]) {
    if (!preg_match('/,/', $id)) {
        print $form->showrefnav($acct, 'ref', $linkback, 1, 'ref');
    } else {
        $bankaccount = new Account($db);
        $listid = explode(',', $id);
        foreach ($listid as $key => $aId) {
            $bankaccount->fetch($aId);
            $bankaccount->label = $bankaccount->ref;
            print $bankaccount->getNomUrl(1);
开发者ID:Samara94,项目名称:dolibarr,代码行数:31,代码来源:annuel.php

示例3: img_previous

        $nextyear++;
    }
    // For month
    $link = "<a href='" . $_SERVER["PHP_SELF"] . "?account=" . $account . ($_GET["option"] != 'all' ? '' : '&option=all') . "&year=" . $prevyear . "&month=" . $prevmonth . "'>" . img_previous() . "</a> " . $langs->trans("Month") . " <a href='" . $_SERVER["PHP_SELF"] . "?account=" . $account . "&year=" . $nextyear . "&month=" . $nextmonth . "'>" . img_next() . "</a>";
    print '<tr><td align="right">' . $link . '</td></tr>';
    print '<tr><td align="center">';
    $file = "movement" . $account . "-" . $year . $month . ".png";
    print $show4;
    print '</td></tr>';
    print '<tr><td align="center">';
    print $show1;
    print '</td></tr>';
    // For year
    $prevyear = $year - 1;
    $nextyear = $year + 1;
    $link = "<a href='" . $_SERVER["PHP_SELF"] . "?account=" . $account . ($_GET["option"] != 'all' ? '' : '&option=all') . "&year=" . $prevyear . "'>" . img_previous() . "</a> " . $langs->trans("Year") . " <a href='" . $_SERVER["PHP_SELF"] . "?account=" . $account . "&year=" . $nextyear . "'>" . img_next() . "</a>";
    print '<tr><td align="right">' . $link . '</td></tr>';
    print '<tr><td align="center">';
    print $show5;
    print '</td></tr>';
    print '<tr><td align="center">';
    print $show2;
    print '</td></tr>';
}
if ($mode == 'showalltime') {
    print '<tr><td align="center">';
    print $show3;
    print '</td></tr>';
}
print '</table>';
llxFooter();
开发者ID:Samara94,项目名称:dolibarr,代码行数:31,代码来源:graph.php

示例4: print_fleche_navigation

/**
 *	Fonction servant a afficher les fleches de navigation dans les pages de listes
 *
 *	@param	int				$page				Number of page
 *	@param	string			$file				Lien
 *	@param	string			$options         	Autres parametres d'url a propager dans les liens ("" par defaut)
 *	@param	boolean|int		$nextpage	    	Do we show a next page button
 *	@param	string			$betweenarrows		HTML Content to show between arrows
 *	@return	void
 */
function print_fleche_navigation($page, $file, $options = '', $nextpage = 0, $betweenarrows = '')
{
    global $conf, $langs;
    if ($page > 0) {
        if (empty($conf->dol_use_jmobile)) {
            print '<a href="' . $file . '?page=' . ($page - 1) . $options . '">' . img_previous($langs->trans("Previous")) . '</a>';
        } else {
            print '<a data-role="button" data-icon="arrow-l" data-iconpos="left" href="' . $file . '?page=' . ($page - 1) . $options . '">' . $langs->trans("Previous") . '</a>';
        }
    }
    if ($betweenarrows) {
        print ($page > 0 ? ' ' : '') . $betweenarrows . ($nextpage > 0 ? ' ' : '');
    }
    if ($nextpage > 0) {
        if (empty($conf->dol_use_jmobile)) {
            print '<a href="' . $file . '?page=' . ($page + 1) . $options . '">' . img_next($langs->trans("Next")) . '</a>';
        } else {
            print '<a data-role="button" data-icon="arrow-r" data-iconpos="right" href="' . $file . '?page=' . ($page + 1) . $options . '">' . $langs->trans("Next") . '</a>';
        }
    }
}
开发者ID:ADDAdev,项目名称:Dolibarr,代码行数:31,代码来源:functions.lib.php

示例5: dol_print_date

    $nav .= " <span id=\"month_name\">" . dol_print_date(dol_mktime(0, 0, 0, $month, 1, $year), "%b %Y");
    $nav .= " </span>\n";
    $nav .= "<a href=\"?year=" . $next_year . "&amp;month=" . $next_month . $param . "\">" . img_next($langs->trans("Next"), 'class="valignbottom"') . "</a>\n";
    $nav .= " &nbsp; (<a href=\"?year=" . $nowyear . "&amp;month=" . $nowmonth . $param . "\">" . $langs->trans("Today") . "</a>)";
    $picto = 'calendar';
}
if ($action == 'show_week') {
    $nav = "<a href=\"?year=" . $prev_year . "&amp;month=" . $prev_month . "&amp;day=" . $prev_day . $param . "\">" . img_previous($langs->trans("Previous"), 'class="valignbottom"') . "</a>\n";
    $nav .= " <span id=\"month_name\">" . dol_print_date(dol_mktime(0, 0, 0, $first_month, $first_day, $first_year), "%Y") . ", " . $langs->trans("Week") . " " . $week;
    $nav .= " </span>\n";
    $nav .= "<a href=\"?year=" . $next_year . "&amp;month=" . $next_month . "&amp;day=" . $next_day . $param . "\">" . img_next($langs->trans("Next"), 'class="valignbottom"') . "</a>\n";
    $nav .= " &nbsp; (<a href=\"?year=" . $nowyear . "&amp;month=" . $nowmonth . "&amp;day=" . $nowday . $param . "\">" . $langs->trans("Today") . "</a>)";
    $picto = 'calendarweek';
}
if ($action == 'show_day') {
    $nav = "<a href=\"?year=" . $prev_year . "&amp;month=" . $prev_month . "&amp;day=" . $prev_day . $param . "\">" . img_previous($langs->trans("Previous"), 'class="valignbottom"') . "</a>\n";
    $nav .= " <span id=\"month_name\">" . dol_print_date(dol_mktime(0, 0, 0, $month, $day, $year), "daytextshort");
    $nav .= " </span>\n";
    $nav .= "<a href=\"?year=" . $next_year . "&amp;month=" . $next_month . "&amp;day=" . $next_day . $param . "\">" . img_next($langs->trans("Next"), 'class="valignbottom"') . "</a>\n";
    $nav .= " &nbsp; (<a href=\"?year=" . $nowyear . "&amp;month=" . $nowmonth . "&amp;day=" . $nowday . $param . "\">" . $langs->trans("Today") . "</a>)";
    $picto = 'calendarday';
}
// Must be after the nav definition
$param .= '&year=' . $year . '&month=' . $month . ($day ? '&day=' . $day : '');
//print 'x'.$param;
$tabactive = '';
if ($action == 'show_month') {
    $tabactive = 'cardmonth';
}
if ($action == 'show_week') {
    $tabactive = 'cardweek';
开发者ID:Albertopf,项目名称:prueba,代码行数:31,代码来源:index.php

示例6: dol_syslog

    dol_syslog("htdocs/accountancy/customer/index.php fixaccountancycode", LOG_DEBUG);
    $resql1 = $db->query($sql1);
    if (!$resql1) {
        $error++;
        $db->rollback();
        setEventMessage($db->lasterror(), 'errors');
    } else {
        $db->commit();
        setEventMessage($langs->trans('Done'), 'mesgs');
    }
}
/*
 * View
 */
llxHeader('', $langs->trans("SuppliersVentilation"));
$textprevyear = '<a href="' . $_SERVER["PHP_SELF"] . '?year=' . ($year_current - 1) . '">' . img_previous() . '</a>';
$textnextyear = '&nbsp;<a href="' . $_SERVER["PHP_SELF"] . '?year=' . ($year_current + 1) . '">' . img_next() . '</a>';
print load_fiche_titre($langs->trans("SuppliersVentilation") . "&nbsp;" . $textprevyear . "&nbsp;" . $langs->trans("Year") . "&nbsp;" . $year_start . "&nbsp;" . $textnextyear);
print '<b>' . $langs->trans("DescVentilSupplier") . '</b>';
print '<div class="inline-block divButAction">';
print '<a class="butAction" href="' . $_SERVER['PHP_SELF'] . '?year=' . $year_current . '&action=validatehistory">' . $langs->trans("ValidateHistory") . '</a>';
print '<a class="butAction" href="' . $_SERVER['PHP_SELF'] . '?year=' . $year_current . '&action=fixaccountancycode">' . $langs->trans("CleanFixHistory", $year_current) . '</a>';
print '<a class="butAction" href="' . $_SERVER['PHP_SELF'] . '?year=' . $year_current . '&action=cleanaccountancycode">' . $langs->trans("CleanHistory", $year_current) . '</a>';
print '</div>';
$y = $year_current;
$var = true;
print '<table class="noborder" width="100%">';
print '<tr class="liste_titre"><td width="200" align="left">' . $langs->trans("Account") . '</td>';
print '<td width="200" align="left">' . $langs->trans("Label") . '</td>';
print '<td width="60" align="center">' . $langs->trans("JanuaryMin") . '</td>';
print '<td width="60" align="center">' . $langs->trans("FebruaryMin") . '</td>';
开发者ID:Albertopf,项目名称:prueba,代码行数:31,代码来源:index.php

示例7: img_previous

 print '<input type="hidden" name="req_nb"       value="' . $req_nb . '">';
 print '<input type="hidden" name="req_desc"     value="' . $req_desc . '">';
 print '<input type="hidden" name="req_debit"    value="' . $req_debit . '">';
 print '<input type="hidden" name="req_credit"   value="' . $req_credit . '">';
 print '<input type="hidden" name="thirdparty"   value="' . $thirdparty . '">';
 print '<input type="hidden" name="nbpage"       value="' . $totalPages . '">';
 print '<input type="hidden" name="id"           value="' . $object->id . '">';
 print '<input type="hidden" name="req_stdtmonth"     value="' . $req_stdtmonth . '">';
 print '<input type="hidden" name="req_stdtyear"     value="' . $req_stdtyear . '">';
 print '<input type="hidden" name="req_stdtday"     value="' . $req_stdtday . '">';
 print '<input type="hidden" name="req_enddtmonth"     value="' . $req_enddtmonth . '">';
 print '<input type="hidden" name="req_enddtday"     value="' . $req_enddtday . '">';
 print '<input type="hidden" name="req_enddtyear"     value="' . $req_enddtyear . '">';
 $navig = '<div data-role="fieldcontain">';
 if ($limitsql > $viewline) {
     $navig .= '<a href="account.php?' . $param . '&amp;page=' . ($page + 1) . '">' . img_previous() . '</a>';
 }
 $navig .= '<label for="negpage">' . $langs->trans("Page") . "</label> ";
 // ' Page ';
 $navig .= '<input type="text" name="negpage" id="negpage" size="1" class="flat" value="' . ($totalPages - $page) . '">';
 $navig .= '/' . $totalPages . ' ';
 if ($total_lines > $limitsql) {
     $navig .= '<a href="' . $_SERVER["PHP_SELF"] . '?' . $param . '&amp;page=' . ($page - 1) . '">' . img_next() . '</a>';
 }
 $navig .= '</div>';
 //var_dump($navig);
 if ($action != 'addline' && $action != 'delete') {
     print '<div class="floatright">' . $navig . '</div>';
 }
 // Form to add a transaction with no invoice
 if ($user->rights->banque->modifier && $action == 'addline') {
开发者ID:NoisyBoy86,项目名称:Dolibarr_test,代码行数:31,代码来源:account.php

示例8: showrefnav

 /**
  *    Return a HTML area with the reference of object and a navigation bar for a business object
  *    To add a particular filter on select, you must set $object->next_prev_filter to SQL criteria.
  *    @param      object		Object to show
  *    @param      paramid   	Name of parameter to use to name the id into the URL link
  *    @param      morehtml  	More html content to output just before the nav bar
  *    @param	  shownav	  	Show Condition (navigation is shown if value is 1)
  *    @param      fieldid   	Nom du champ en base a utiliser pour select next et previous
  *    @param      fieldref   	Nom du champ objet ref (object->ref) a utiliser pour select next et previous
  *    @param      morehtmlref  	Code html supplementaire a afficher apres ref
  *    @param      moreparam  	More param to add in nav link url.
  * 	  @return     string    	Portion HTML avec ref + boutons nav
  */
 function showrefnav($object, $paramid, $morehtml = '', $shownav = 1, $fieldid = 'rowid', $fieldref = 'ref', $morehtmlref = '', $moreparam = '')
 {
     $ret = '';
     //print "$paramid,$morehtml,$shownav,$fieldid,$fieldref,$morehtmlref,$moreparam";
     $object->load_previous_next_ref(isset($object->next_prev_filter) ? $object->next_prev_filter : '', $fieldid);
     $previous_ref = $object->ref_previous ? '<a href="' . $_SERVER["PHP_SELF"] . '?' . $paramid . '=' . urlencode($object->ref_previous) . $moreparam . '">' . img_previous() . '</a>' : '';
     $next_ref = $object->ref_next ? '<a href="' . $_SERVER["PHP_SELF"] . '?' . $paramid . '=' . urlencode($object->ref_next) . $moreparam . '">' . img_next() . '</a>' : '';
     //print "xx".$previous_ref."x".$next_ref;
     if ($previous_ref || $next_ref || $morehtml) {
         $ret .= '<table class="nobordernopadding" width="100%"><tr class="nobordernopadding"><td class="nobordernopadding">';
     }
     $ret .= $object->{$fieldref};
     if ($morehtmlref) {
         $ret .= ' ' . $morehtmlref;
     }
     if ($morehtml) {
         $ret .= '</td><td class="nobordernopadding" align="right">' . $morehtml;
     }
     if ($shownav && ($previous_ref || $next_ref)) {
         $ret .= '</td><td class="nobordernopadding" align="center" width="20">' . $previous_ref . '</td>';
         $ret .= '<td class="nobordernopadding" align="center" width="20">' . $next_ref;
     }
     if ($previous_ref || $next_ref || $morehtml) {
         $ret .= '</td></tr></table>';
     }
     return $ret;
 }
开发者ID:netors,项目名称:dolibarr,代码行数:40,代码来源:html.form.class.php

示例9: llxHeader

llxHeader('', $langs->trans("SpecialExpensesArea"));
$title = $langs->trans("SpecialExpensesArea");
if ($_GET["mode"] == 'sconly') {
    $title = $langs->trans("SocialContributionsPayments");
}
$param = '';
if (GETPOST("mode") == 'sconly') {
    $param = '&mode=sconly';
}
if ($sortfield) {
    $param .= '&sortfield=' . $sortfield;
}
if ($sortorder) {
    $param .= '&sortorder=' . $sortorder;
}
print load_fiche_titre($title, $year ? "<a href='index.php?year=" . ($year - 1) . $param . "'>" . img_previous() . "</a> " . $langs->trans("Year") . " {$year} <a href='index.php?year=" . ($year + 1) . $param . "'>" . img_next() . "</a>" : "", 'title_accountancy.png');
if ($year) {
    $param .= '&year=' . $year;
}
if (GETPOST("mode") != 'sconly') {
    print $langs->trans("DescTaxAndDividendsArea") . '<br>';
    print "<br>";
}
if ($conf->tax->enabled) {
    // Social contributions only
    if (GETPOST("mode") != 'sconly') {
        print load_fiche_titre($langs->trans("SocialContributionsPayments") . ($year ? ' (' . $langs->trans("Year") . ' ' . $year . ')' : ''), '', '');
    }
    print '<table class="noborder" width="100%">';
    print '<tr class="liste_titre">';
    print_liste_field_titre($langs->trans("PeriodEndDate"), $_SERVER["PHP_SELF"], "cs.date_ech", "", $param, 'width="140px"', $sortfield, $sortorder);
开发者ID:Samara94,项目名称:dolibarr,代码行数:31,代码来源:index.php

示例10: GETPOST

}
$year = GETPOST('year');
if (empty($year)) {
    $tmpdate = dol_getdate(dol_now());
    $year = $tmpdate['year'];
}
/*
 * View
 */
$langs->load('users');
llxHeader(array(), $langs->trans('CPTitreMenu') . ' (' . $langs->trans("Year") . ' ' . $year . ')');
$cp = new Holiday($db);
// Recent changes are more important than old changes
$log_holiday = $cp->fetchLog('ORDER BY cpl.rowid DESC', " AND date_action BETWEEN '" . $db->idate(dol_get_first_day($year, 1, 1)) . "' AND '" . $db->idate(dol_get_last_day($year, 12, 1)) . "'");
// Load $cp->logs
print_fiche_titre($langs->trans('LogCP'), '<a href="' . $_SERVER["PHP_SELF"] . '?year=' . ($year - 1) . '">' . img_previous() . '</a> ' . $langs->trans("Year") . ':' . $year . ' <a href="' . $_SERVER["PHP_SELF"] . '?year=' . ($year + 1) . '">' . img_next() . '</a>');
print '<table class="noborder" width="100%">';
print '<tbody>';
print '<tr class="liste_titre">';
print '<td class="liste_titre">' . $langs->trans('ID') . '</td>';
print '<td class="liste_titre" align="center">' . $langs->trans('Date') . '</td>';
print '<td class="liste_titre">' . $langs->trans('ActionByCP') . '</td>';
print '<td class="liste_titre">' . $langs->trans('UserUpdateCP') . '</td>';
print '<td class="liste_titre">' . $langs->trans('Description') . '</td>';
print '<td class="liste_titre" align="right">' . $langs->trans('PrevSoldeCP') . '</td>';
print '<td class="liste_titre" align="right">' . $langs->trans('NewSoldeCP') . '</td>';
print '</tr>';
$var = true;
foreach ($cp->logs as $logs_CP) {
    $var = !$var;
    $user_action = new User($db);
开发者ID:ADDAdev,项目名称:Dolibarr,代码行数:31,代码来源:view_log.php

示例11: img_previous

if ($localTaxType == 1) {
    $LT = 'LT1';
    $LTSummary = 'LT1Summary';
    $LTPaid = 'LT1Paid';
    $LTCustomer = 'LT1Customer';
    $LTSupplier = 'LT1Supplier';
    $CalcLT = $conf->global->MAIN_INFO_LOCALTAX_CALC1;
} else {
    $LT = 'LT2';
    $LTSummary = 'LT2Summary';
    $LTPaid = 'LT2Paid';
    $LTCustomer = 'LT2Customer';
    $LTSupplier = 'LT2Supplier';
    $CalcLT = $conf->global->MAIN_INFO_LOCALTAX_CALC2;
}
$textprevyear = "<a href=\"index.php?localTaxType=" . $localTaxType . "&year=" . ($year_current - 1) . "\">" . img_previous() . "</a>";
$textnextyear = " <a href=\"index.php?localTaxType=" . $localTaxType . "&year=" . ($year_current + 1) . "\">" . img_next() . "</a>";
print_fiche_titre($langs->transcountry($LT, $mysoc->country_code), "{$textprevyear} " . $langs->trans("Year") . " {$year_start} {$textnextyear}");
print $langs->trans("LTReportBuildWithOptionDefinedInModule") . '<br>';
print '(' . $langs->trans("TaxModuleSetupToModifyRulesLT", DOL_URL_ROOT . '/admin/company.php') . ')<br>';
print '<br>';
print '<table width="100%" class="nobordernopadding">';
print '<tr><td>';
print_titre($langs->transcountry($LTSummary, $mysoc->country_code));
print '</td><td width="5">&nbsp;</td><td>';
print_titre($langs->transcountry($LTPaid, $mysoc->country_code));
print '</td></tr>';
print '<tr><td width="50%" valign="top">';
print "<table class=\"noborder\" width=\"100%\">";
print "<tr class=\"liste_titre\">";
print "<td width=\"30%\">" . $langs->trans("Year") . " {$y}</td>";
开发者ID:TAASA,项目名称:Dolibarr-ERP-3.8.1,代码行数:31,代码来源:index.php

示例12: img_previous

    $prevmonth = $month - 1;
    $nextmonth = $month + 1;
    if ($prevmonth < 1) {
        $prevmonth = 12;
        $prevyear--;
    }
    if ($nextmonth > 12) {
        $nextmonth = 1;
        $nextyear++;
    }
    // For month
    $lien = "<a href='" . $_SERVER["PHP_SELF"] . "?id=" . $id . (GETPOST('option', 'string') != 'all' ? '' : '&option=all') . "&year=" . $prevyear . "&month=" . $prevmonth . "'>" . img_previous() . "</a> " . $langs->trans("Month") . " <a href='" . $_SERVER["PHP_SELF"] . "?id=" . $id . "&year=" . $nextyear . "&month=" . $nextmonth . "'>" . img_next() . "</a>";
    print '<tr><td align="right">' . $lien . '</td></tr>';
    print '<tr><td align="center">';
    $file = "movement" . $id . "-" . $year . $month . ".png";
    print $show1;
    print '</td></tr>';
    // For year
    $prevyear = $year - 1;
    $nextyear = $year + 1;
    $lien = "<a href='" . $_SERVER["PHP_SELF"] . "?id=" . $id . (GETPOST('option', 'string') != 'all' ? '' : '&option=all') . "&year=" . $prevyear . "'>" . img_previous() . "</a> " . $langs->trans("Year") . " <a href='" . $_SERVER["PHP_SELF"] . "?id=" . $id . "&year=" . $nextyear . "'>" . img_next() . "</a>";
    print '<tr><td align="right">' . $lien . '</td></tr>';
    print '<tr><td align="center">';
    $file = "movement" . $id . "-" . $year . ".png";
    print $show2;
    print '</td></tr>';
}
print '</table>';
print "\n</div>\n";
llxFooter();
$db->close();
开发者ID:LionSystemsSolutions,项目名称:El-Canelo-ERP,代码行数:31,代码来源:graph.php

示例13: llxHeader

$mode='customer';
if (isset($_GET["mode"])) $mode=$_GET["mode"];



/*
 * View
 */

llxHeader();

$title=$langs->trans("TripsAndExpensesStatistics");
$dir=$conf->deplacement->dir_temp;

$mesg = '<a href="month.php?year='.($year - 1).'&amp;mode='.$mode.'">'.img_previous().'</a> ';
$mesg.= $langs->trans("Year")." $year";
$mesg.= ' <a href="month.php?year='.($year + 1).'&amp;mode='.$mode.'">'.img_next().'</a>';
print_fiche_titre($title, $mesg);

create_exdir($dir);

$stats = new DeplacementStats($db, $socid);


$data = $stats->getNbByMonth($year);

$filename = $dir."/tripsexpensesnb-".$year.".png";
$fileurl = DOL_URL_ROOT.'/viewimage.php?modulepart=tripsexpensesstats&file=tripsexpensesnb-'.$year.'.png';

$px = new DolGraph();
开发者ID:remyyounes,项目名称:dolibarr,代码行数:30,代码来源:month.php

示例14: price

            print "</tr>\n";
            $i++;
        }
        print '<tr class="liste_total"><td align="right">' . $langs->trans("Total") . " :</td><td class=\"nowrap\" align=\"right\"><b>" . price($total) . "</b></td><td>&nbsp;</td></tr>";
        print "</table>";
        $db->free($result);
    } else {
        dol_print_error($db);
    }
}
/*
 * View
 */
llxHeader();
$tva = new Tva($db);
$textprevyear = "<a href=\"index.php?year=" . ($year_current - 1) . "\">" . img_previous($langs->trans("Previous"), 'class="valignbottom"') . "</a>";
$textnextyear = " <a href=\"index.php?year=" . ($year_current + 1) . "\">" . img_next($langs->trans("Next"), 'class="valignbottom"') . "</a>";
print load_fiche_titre($langs->trans("VAT"), "{$textprevyear} " . $langs->trans("Year") . " {$year_start} {$textnextyear}");
print $langs->trans("VATReportBuildWithOptionDefinedInModule") . '<br>';
print '(' . $langs->trans("TaxModuleSetupToModifyRules", DOL_URL_ROOT . '/admin/taxes.php') . ')<br>';
print '<br>';
print '<table width="100%" class="notopnoleftnoright">';
print '<tr><td class="notopnoleft" width="50%">';
print load_fiche_titre($langs->trans("VATSummary"));
// The report mode is the one defined by defaut in tax module setup
//print $modetax;
//print '('.$langs->trans("SeeVATReportInInputOutputMode",'<a href="'.$_SERVER["PHP_SELF"].'?year='.$year_start.'&modetax=0">','</a>').')';
print '</td><td>';
print load_fiche_titre($langs->trans("VATPaid"));
print '</td></tr>';
print '<tr><td class="notopnoleft" width="50%" valign="top">';
开发者ID:NoisyBoy86,项目名称:Dolibarr_test,代码行数:31,代码来源:index.php

示例15: llxHeader

llxHeader('', $langs->trans("SpecialExpensesArea"));
$title = $langs->trans("SpecialExpensesArea");
if ($_GET["mode"] == 'sconly') {
    $title = $langs->trans("SocialContributionsPayments");
}
$param = '';
if (GETPOST("mode") == 'sconly') {
    $param = '&mode=sconly';
}
if ($sortfield) {
    $param .= '&sortfield=' . $sortfield;
}
if ($sortorder) {
    $param .= '&sortorder=' . $sortorder;
}
print_fiche_titre($title, $year ? "<a href='index.php?year=" . ($year - 1) . $param . "'>" . img_previous() . "</a> " . $langs->trans("Year") . " {$year} <a href='index.php?year=" . ($year + 1) . $param . "'>" . img_next() . "</a>" : "");
if ($year) {
    $param .= '&year=' . $year;
}
if (GETPOST("mode") != 'sconly') {
    print $langs->trans("DescTaxAndDividendsArea") . '<br>';
    print "<br>";
}
// Payment Salary
if ($conf->salaries->enabled) {
    if (empty($_GET["mode"]) || $_GET["mode"] != 'sconly') {
        $sal = new PaymentSalary($db);
        print_fiche_titre($langs->trans("SalariesPayments") . ($year ? ' (' . $langs->trans("Year") . ' ' . $year . ')' : ''), '', '');
        $sql = "SELECT s.rowid, s.amount, s.label, s.datev as dm";
        $sql .= " FROM " . MAIN_DB_PREFIX . "payment_salary as s";
        $sql .= " WHERE s.entity = " . $conf->entity;
开发者ID:ADDAdev,项目名称:Dolibarr,代码行数:31,代码来源:index.php


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