• Image 02
  • Image 03
Error
  • You are not authorised to view this resource.

Latest Printer

{source}
<?php
$db = mysql_connect("localhost", "db11045028-joom", "0_8O15cPAKp") or die("Could not connect.");
if(!mysql_select_db("db11045028-ocp01",$db)){ die("No database selected."); }

$sql = "SELECT produkte_drucker_hersteller_name,produkte_drucker_name FROM ibase_produkte_drucker, ibase_produkte_drucker_hersteller WHERE ibase_produkte_drucker.published=1 AND ibase_produkte_drucker.produkte_drucker_ref_drucker_hersteller = ibase_produkte_drucker_hersteller.produkte_drucker_hersteller_id ORDER by produkte_drucker_id DESC LIMIT 4";

$res = mysql_query($sql) or die("Could not get SQL: ".$sql);

while($prod = mysql_fetch_array($res)){
    echo '<div class="homeitemslist">'.$prod['produkte_drucker_hersteller_name'].' '.$prod['produkte_drucker_name'].'</div>';
}
    
?>
{/source}

Latest Cartridges

{source}
<?php
    $db = mysql_connect("localhost", "db11045028-joom", "0_8O15cPAKp") or die("Could not connect.");
    if(!mysql_select_db("db11045028-ocp01",$db)){ die("No database selected."); }

    $sql = "SELECT produkte_drucker_hersteller_name,produkte_kartuschen_name FROM ibase_produkte_kartuschen, ibase_produkte_drucker_hersteller WHERE ibase_produkte_kartuschen.published=1 AND ibase_produkte_kartuschen.produkte_kartuschen_ref_drucker_hersteller = ibase_produkte_drucker_hersteller.produkte_drucker_hersteller_id ORDER by produkte_kartuschen_id DESC LIMIT 4";
    $res = mysql_query($sql) or die("Could not get SQL: ".$sql);
    while($prod = mysql_fetch_array($res)){
        echo '<div class="homeitemslist">'.$prod['produkte_drucker_hersteller_name'].' '.$prod['produkte_kartuschen_name'].'</div>';
    }
    
?>
{/source}