コード例 #1
0
ファイル: pageHome.php プロジェクト: TokaMElTorkey/northwind
			<tr>
				<td class="tdCaptionCell"><?php 
    echo @date($adminConfig['PHPDateTimeFormat'], $row[2]);
    ?>
</td>
				<td class="tdCell" align="left"><a href="pageEditOwnership.php?recID=<?php 
    echo $row[3];
    ?>
"><img src="images/data_icon.gif" border="0" alt="<?php 
    echo $Translation["view record details"];
    ?>
" title="<?php 
    echo $Translation["view record details"];
    ?>
"></a> <?php 
    echo substr(getCSVData($row[0], $row[1]), 0, 15);
    ?>
 ...</td>
				</tr>
			<?php 
}
?>
	</table>
	</div>
</div>
</div>
<!-- ####################################################### -->


<!-- ################# Add-ons available ######################## -->
	<?php 
コード例 #2
0
			<td class="tdCell" align="left" <?php 
    echo $sort == 'dateAdded' ? "style=\"background-color: #FFFFE0;\"" : "";
    ?>
><?php 
    echo @date($adminConfig['PHPDateTimeFormat'], $row[4]);
    ?>
</td>
			<td class="tdCell" align="left" <?php 
    echo $sort == 'dateUpdated' ? "style=\"background-color: #FFFFE0;\"" : "";
    ?>
><?php 
    echo @date($adminConfig['PHPDateTimeFormat'], $row[5]);
    ?>
</td>
			<td class="tdCell" align="left"><?php 
    echo substr(getCSVData($row[3], $row[6]), 0, 40) . " ... ";
    ?>
</td>
			</tr>
		<?php 
}
?>
	<tr>
		<td colspan="7">
			<table width="100%" cellspacing="0">
				<td align="left" class="tdFooter">
					<input type="button" onClick="window.location='pageViewRecords.php?groupID=<?php 
echo $groupID;
?>
&memberID=<?php 
echo $memberID;
コード例 #3
0
    $form = $_POST["format"];
}
$label = getOneLable($form);
if ($_POST["print"]) {
    $lableformat = array("paper-size" => $label["papersize"], 'name' => $label["name"], 'metric' => $label["metric"], 'marginLeft' => $label["marginleft"], 'marginTop' => $label["margintop"], 'NX' => $label["nx"], 'NY' => $label["ny"], 'SpaceX' => $label["spacex"], 'SpaceY' => $label["spacey"], 'width' => $label["width"], 'height' => $label["height"], 'font-size' => 6);
    require_once 'inc/PDF_Label.php';
    $tmp = explode(":", $_POST["xy"]);
    $SX = substr($tmp[0], 1);
    $SY = substr($tmp[1], 1);
    $pdf = new PDF_Label($lableformat, $label["metric"], $SX, $SY);
    $pdf->Open();
    unset($tmp);
    if ($SX != 1 or $SY != 1) {
        $pdf->AddPage();
    }
    $daten = getCSVData();
    if ($daten == false) {
        // Fehler beim Laden der Daten, entsprechend Abbrechen
        echo "Fehler beim Laden der Werte bitte Fehlermeldung unter tmp/lxcrm.log prüfen";
        exit;
    }
    if (is_array($daten)) {
        $felder = array_shift($daten);
        $felder = explode(":", $felder["csvdaten"]);
        $felder[] = "TEXT";
        foreach ($daten as $row) {
            $data = explode(":", $row["csvdaten"]);
            $data[] = $_POST["text"];
            unset($tmp);
            foreach ($label["Text"] as $row) {
                preg_match_all("/%([A-Z0-9_]+)%/U", $row["zeile"], $ph, PREG_PATTERN_ORDER);