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


PHP llxHeaderVierge函数代码示例

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


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

示例1: jQuery

{
var currentId = idstring.substring(2);
jQuery("tr.moduleline").hide();
if (currentId != openedId)
{
openedId=currentId;
jQuery("#tr1"+currentId).show();
jQuery("#tr2"+currentId).show();
}
else openedId = "";
}
});
});
</script>';

llxHeaderVierge($langs->trans("DolibarrDemo"), $head);


print "\n";

print '<table style="font-size:14px;" class="centpercent" summary="Main table for Dolibarr demos">';

print '<tr><td>';
print '<div class="center"><img src="'.DOL_URL_ROOT.'/theme/dolibarr_logo.png" alt="Dolibarr logo"></div><br>';
print '<br>';

print $langs->trans("DemoDesc").'<br>';
print '<br>';
print '<font color="#555577"><b>'.$langs->trans("ChooseYourDemoProfil").'</b></font>';

print '</td></tr>';
开发者ID:NoisyBoy86,项目名称:Dolibarr_test,代码行数:31,代码来源:index.php

示例2: llxFooterVierge

    print '<br>';
    print '<center>';
    print $langs->trans("NewMemberbyWeb");
    print '</center>';
    llxFooterVierge();
    exit;
}
/*
 * View
 */
$form = new Form($db);
$formcompany = new FormCompany($db);
$adht = new AdherentType($db);
$extrafields->fetch_name_optionals_label('adherent');
// fetch optionals attributes and labels
llxHeaderVierge($langs->trans("NewSubscription"));
print_titre($langs->trans("NewSubscription"));
if (!empty($conf->global->MEMBER_NEWFORM_TEXT)) {
    print $langs->trans($conf->global->MEMBER_NEWFORM_TEXT) . "<br>\n";
} else {
    print $langs->trans("NewSubscriptionDesc", $conf->global->MAIN_INFO_SOCIETE_MAIL) . "<br>\n";
}
dol_htmloutput_errors($errmsg);
print '<div align="center">';
print '<br>' . $langs->trans("FieldsWithAreMandatory", '*') . '<br>';
//print $langs->trans("FieldsWithIsForPublic",'**').'<br>';
print '<script type="text/javascript">
jQuery(document).ready(function () {
    jQuery(document).ready(function () {
        function initmorphy()
        {
开发者ID:LionSystemsSolutions,项目名称:El-Canelo-ERP,代码行数:31,代码来源:new.php

示例3: accessforbidden

/**
 *	Show a message to say access is forbidden and stop program
 *	Calling this function terminate execution of PHP.
 *
 *	@param	string	$message			    Force error message
 *	@param	int		$printheader		    Show header before
 *  @param  int		$printfooter         Show footer after
 *  @param  int		$showonlymessage     Show only message parameter. Otherwise add more information.
 *  @return	void
 */
function accessforbidden($message = '', $printheader = 1, $printfooter = 1, $showonlymessage = 0)
{
    global $conf, $db, $user, $langs;
    if (!is_object($langs)) {
        include_once DOL_DOCUMENT_ROOT . '/core/class/translate.class.php';
        $langs = new Translate('', $conf);
    }
    $langs->load("errors");
    if ($printheader) {
        if (function_exists("llxHeader")) {
            llxHeader('');
        } else {
            if (function_exists("llxHeaderVierge")) {
                llxHeaderVierge('');
            }
        }
    }
    print '<div class="error">';
    if (!$message) {
        print $langs->trans("ErrorForbidden");
    } else {
        print $message;
    }
    print '</div>';
    print '<br>';
    if (empty($showonlymessage)) {
        if ($user->login) {
            print $langs->trans("CurrentLogin") . ': <font class="error">' . $user->login . '</font><br>';
            print $langs->trans("ErrorForbidden2", $langs->trans("Home"), $langs->trans("Users"));
        } else {
            print $langs->trans("ErrorForbidden3");
        }
    }
    if ($printfooter && function_exists("llxFooter")) {
        llxFooter();
    }
    exit(0);
}
开发者ID:nrjacker4,项目名称:crm-php,代码行数:48,代码来源:security.lib.php

示例4: Form

    $sortorder = "ASC";
}
if (!$sortfield) {
    $sortfield = "lastname";
}
/*
 * View
 */
$form = new Form($db);
$morehead = '';
if (!empty($conf->global->MEMBER_PUBLIC_CSS)) {
    $morehead = '<link rel="stylesheet" type="text/css" href="' . $conf->global->MEMBER_PUBLIC_CSS . '">';
} else {
    $morehead = '<link rel="stylesheet" type="text/css" href="' . DOL_URL_ROOT . '/theme/eldy/style.css.php' . '">';
}
llxHeaderVierge($langs->trans("ListOfValidatedPublicMembers"), $morehead);
$sql = "SELECT rowid, firstname, lastname, societe, zip, town, email, birth, photo";
$sql .= " FROM " . MAIN_DB_PREFIX . "adherent";
$sql .= " WHERE entity = " . $entity;
$sql .= " AND statut = 1";
$sql .= " AND public = 1";
$sql .= $db->order($sortfield, $sortorder);
$sql .= $db->plimit($conf->liste_limit + 1, $offset);
//$sql = "SELECT d.rowid, d.firstname, d.lastname, d.societe, zip, town, d.email, t.libelle as type, d.morphy, d.statut, t.cotisation";
//$sql .= " FROM ".MAIN_DB_PREFIX."adherent as d, ".MAIN_DB_PREFIX."adherent_type as t";
//$sql .= " WHERE d.fk_adherent_type = t.rowid AND d.statut = $statut";
//$sql .= " ORDER BY $sortfield $sortorder " . $db->plimit($conf->liste_limit, $offset);
$result = $db->query($sql);
if ($result) {
    $num = $db->num_rows($result);
    $i = 0;
开发者ID:Samara94,项目名称:dolibarr,代码行数:31,代码来源:public_list.php

示例5: header

        $outputencoding = 'UTF-8';
        if ($contenttype) {
            header('Content-Type: ' . $contenttype . ($outputencoding ? '; charset=' . $outputencoding : ''));
        }
        if ($attachment) {
            header('Content-Disposition: attachment; filename="' . $filename . '"');
        }
        // Ajout directives pour resoudre bug IE
        //header('Cache-Control: Public, must-revalidate');
        //header('Pragma: public');
        if ($cachedelay) {
            header('Cache-Control: max-age=' . $cachedelay . ', private, must-revalidate');
        } else {
            header('Cache-Control: private, must-revalidate');
        }
        // Clean parameters
        $outputfile = $conf->agenda->dir_temp . '/' . $filename;
        $result = readfile($outputfile);
        if (!$result) {
            print 'File ' . $outputfile . ' was empty.';
        }
        //	header("Location: ".DOL_URL_ROOT.'/document.php?modulepart=agenda&file='.urlencode($filename));
        exit;
    } else {
        print 'Error ' . $agenda->error;
        exit;
    }
}
llxHeaderVierge();
print '<div class="error">' . $agenda->error . '</div>';
llxFooterVierge();
开发者ID:ADDAdev,项目名称:Dolibarr,代码行数:31,代码来源:agendaexport.php

示例6: Adherent

$object = new Adherent($db);
$extrafields = new ExtraFields($db);
/*
 * Actions
 */
// None
/*
 * View
 */
$morehead = '';
if (!empty($conf->global->MEMBER_PUBLIC_CSS)) {
    $morehead = '<link rel="stylesheet" type="text/css" href="' . $conf->global->MEMBER_PUBLIC_CSS . '">';
} else {
    $morehead = '<link rel="stylesheet" type="text/css" href="' . DOL_URL_ROOT . '/theme/eldy/style.css.php' . '">';
}
llxHeaderVierge($langs->trans("MemberCard"), $morehead);
// fetch optionals attributes and labels
$extralabels = $extrafields->fetch_name_optionals_label('adherent');
if ($id > 0) {
    $res = $object->fetch($id);
    if ($res < 0) {
        dol_print_error($db, $object->error);
        exit;
    }
    $res = $object->fetch_optionals($object->id, $extralabels);
    print load_fiche_titre($langs->trans("MemberCard"), '', '');
    if (empty($object->public)) {
        print $langs->trans("ErrorThisMemberIsNotPublic");
    } else {
        print '<table class="public_border" cellspacing="0" width="100%" cellpadding="3">';
        print '<tr><td width="15%">' . $langs->trans("Type") . '</td><td class="valeur">' . $object->type . "</td></tr>\n";
开发者ID:Samara94,项目名称:dolibarr,代码行数:31,代码来源:public_card.php

示例7: GETPOST

}
$langs->load("main");
$langs->load("members");
$langs->load("companies");
$langs->load("other");
$id = GETPOST('id', 'int');
$object = new Adherent($db);
$extrafields = new ExtraFields($db);
/*
 * Actions
 */
// None
/*
 * View
 */
llxHeaderVierge($langs->trans("MemberCard"));
// fetch optionals attributes and labels
$extralabels = $extrafields->fetch_name_optionals_label('adherent');
if ($id > 0) {
    $res = $object->fetch($id);
    if ($res < 0) {
        dol_print_error($db, $object->error);
        exit;
    }
    $res = $object->fetch_optionals($object->id, $extralabels);
    print_titre($langs->trans("MemberCard"));
    if (empty($object->public)) {
        print $langs->trans("ErrorThisMemberIsNotPublic");
    } else {
        print '<table class="border" cellspacing="0" width="100%" cellpadding="3">';
        print '<tr><td width="15%">' . $langs->trans("Type") . '</td><td class="valeur">' . $object->type . "</td></tr>\n";
开发者ID:LionSystemsSolutions,项目名称:El-Canelo-ERP,代码行数:31,代码来源:public_card.php


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