echo empty($minder["ID"]) ? "" : "checked"; ?> ></td> <td></td> </tr> <tr> <td>Std-Einheit</td> <td><select name="unit"> <?php unit($unit); ?> </select></td> <td>Preisgruppe</td> <td><select name="pricegroup"> <?php pg($pricegroup); ?> </select></td> <tr> <td colspan="2">Auftragsnummern durch</td> <td><input type="radio" name="auftrnr" value="1" <?php echo $auftrnr == 1 ? "checked" : ""; ?> > LxO</td> <td><input type="radio" name="auftrnr" value="0" <?php echo $auftrnr != 1 ? "checked" : ""; ?> > Shop</td> </tr> <tr> <td colspan="2">Kundennummern durch</td>
<td>Standardpreis</td> <td><select name="stdprice"> <?php pg($stdprice); ?> </select></td> <td>Defaultbild</td> <td><input type="text" name="nopic" size="20" value="<?php echo $nopic; ?> "> <tr> <td>abweichender Preis</td> <td><select name="altprice"> <?php pg($altprice); ?> </select></td> <td>Kundengruppe</td> <td><input type="text" name="KDGrp" size="3" value="<?php echo $KDGrp; ?> "> </tr> <tr> <td colspan="2">Auftragsnummern durch</td> <td><input type="radio" name="auftrnr" value="1" <?php echo $auftrnr == 1 ? "checked" : ""; ?> > LxO</td> <td><input type="radio" name="auftrnr" value="0" <?php
<tr> <td colspan="2">Nur übersetzte Artikel</td> <td><input type="radio" name="SpracheAlle" value="true" <?= ($SpracheAlle=="true")?"checked":"" ?>> Ja</td> <td><input type="radio" name="SpracheAlle" value="false" <?= ($SpracheAlle<>"true")?"checked":"" ?>> Nein</td> </tr> <tr> <td>Standardpreis</td> <td><select name="stdprice"> <? pg($stdprice); ?> </select></td> <td>Defaultbild</td> <td><input type="text" name="nopic" size="20" value="<?= $nopic ?>"> <tr> <td>abweichender Preis</td> <td><select name="altprice"> <? pg($altprice); ?> </select></td> <td>Kundengruppe</td> <td><input type="text" name="KDGrp" size="3" value="<?= $KDGrp ?>"> </tr> <tr> <td colspan="2">Auftragsnummern durch</td> <td><input type="radio" name="auftrnr" value="1" <?= ($auftrnr==1)?"checked":"" ?>> LxO</td> <td><input type="radio" name="auftrnr" value="0" <?= ($auftrnr<>1)?"checked":"" ?>> Shop</td> </tr> <tr> <td colspan="2">Kundennummern durch</td> <td><input type="radio" name="kdnum" value="1" <?= ($kdnum==1)?"checked":"" ?>> LxO</td> <td><input type="radio" name="kdnum" value="0" <?= ($kdnum<>1)?"checked":"" ?>> Shop</td> </tr> <tr>
if ($server == 'localhost') { return dirname($_SERVER['SCRIPT_NAME']) . '/'; } else { return 'http://' . $_SERVER['HTTP_HOST'] . '/mvc/'; } } ?> <!DOCTYPE html> <html> <head lang="en"> <meta charset="UTF-8"> <title>Page Not Found</title> <link type="text/css" href="<?php echo host(); ?> /css/style.css" rel="stylesheet" /> <script type="text/javascript" src="<?php echo host(); ?> /js/app.js"></script> </head> <body> <section> <h1>Page Not Found</h1> <p>Back to the <a href="<?php echo pg(); ?> home">Home</a> page</p> </section> </body> </html>
?> > excl. MwSt</td> <td><input type="radio" name="mwstS" value="1" <?php echo $mwstS == 1 ? "checked" : ''; ?> > incl. <input type="radio" name="mwstS" value="0" <?php echo $mwstS != 1 ? "checked" : ''; ?> > excl. MwSt</td> </tr> <tr> <td>Preisgruppe</td> <td><select name="pricegroup"> <?php pg($pricegroup, $dbP); ?> </select> <input type="radio" name="mwstPGLX" value="1" <?php echo $mwstPGLX == 1 ? "checked" : ''; ?> > incl. <input type="radio" name="mwstPGLX" value="0" <?php echo $mwstPGLX != 1 ? "checked" : ''; ?> > excl. MwSt </td> <td></td> <td>Std-Einheit <select name="unit"> <?php
private function getWithPHPQuery($selectors) { require 'phpQuery/phpQuery.php'; $content = file_get_contents($selectors['url']); $doc = phpQuery::newDocumentHTML($content); phpQuery::selectDocument($doc); $renders = []; $items = pq($selectors['item']); $items->each(function ($t) { if ($selectors['link'] == '.') { $item['title'] = pq($t)->text(); } else { $item['title'] = pq($t)->find($selectors['title'])->text(); } if ($selectors['link'] == '.') { $item['link'] = pg($t)->getAttribute('href'); } else { $item['link'] = pg($t)->find($selectors['link'])->getAttribute('href'); } $item['digest'] = pg($t)->find($selectors['description'])->text(); $renders[] = $item; }); return $renders; }