");
} else {
$router[$i] = new ffrouter();
$router[$i]->hersteller = $router_tmp[$i]['hersteller'];
$router[$i]->version = $router_tmp[$i]['version'];
$router[$i]->modell = $router_tmp[$i]['modell'];
$router[$i]->betafactory = 1;
$router[$i]->betafactorylink = $firmware_download_path."beta/factory/".$files['beta']['factory'][$i];
}
}
}
$router_tmp = array();
if($variante['beta']['sysupgrade'] == 1) {
for( $i=0; $i");
} else {
$router_neu = 1;
for( $j=0; $jhersteller, $router_tmp[$i]['hersteller']) == 0) && (strcasecmp($router[$j]->modell, $router_tmp[$i]['modell']) == 0) && (strcasecmp($router[$j]->version, $router_tmp[$i]['version']) == 0)) {
$router[$j]->betasysupgrade = 1;
$router[$j]->betasysupgradelink = $firmware_download_path."beta/sysupgrade/".$files['beta']['sysupgrade'][$i];
$router_neu = 0;
}
}
if($router_neu == 1) {
$router[$j] = new ffrouter();
$router[$j]->hersteller = $router_tmp[$i]['hersteller'];
$router[$j]->version = $router_tmp[$i]['version'];
$router[$j]->modell = $router_tmp[$i]['modell'];
$router[$j]->betasysupgrade = 1;
$router[$j]->betasysupgradelink = $firmware_download_path."beta/sysupgrade/".$files['beta']['sysupgrade'][$i];
}
}
}
}
$router_tmp = array();
if($variante['broken']['factory'] == 1) {
for( $i=0; $i");
} else {
$router_neu = 1;
for( $j=0; $jhersteller, $router_tmp[$i]['hersteller']) == 0) && (strcasecmp($router[$j]->modell, $router_tmp[$i]['modell']) == 0) && (strcasecmp($router[$j]->version, $router_tmp[$i]['version']) == 0)) {
$router[$j]->brokenfactory = 1;
$router[$j]->brokenfactorylink = $firmware_download_path."broken/factory/".$files['broken']['factory'][$i];
$router_neu = 0;
}
}
if($router_neu == 1) {
$router[$j] = new ffrouter();
$router[$j]->hersteller = $router_tmp[$i]['hersteller'];
$router[$j]->version = $router_tmp[$i]['version'];
$router[$j]->modell = $router_tmp[$i]['modell'];
$router[$j]->brokenfactory = 1;
$router[$j]->brokenfactorylink = $firmware_download_path."broken/factory/".$files['broken']['factory'][$i];
}
}
}
}
$router_tmp = array();
if($variante['broken']['sysupgrade'] == 1) {
for( $i=0; $i");
} else {
$router_neu = 1;
for( $j=0; $jhersteller, $router_tmp[$i]['hersteller']) == 0) && (strcasecmp($router[$j]->modell, $router_tmp[$i]['modell']) == 0) && (strcasecmp($router[$j]->version, $router_tmp[$i]['version']) == 0)) {
$router[$j]->brokensysupgrade = 1;
$router[$j]->brokensysupgradelink = $firmware_download_path."broken/sysupgrade/".$files['broken']['sysupgrade'][$i];
$router_neu = 0;
}
}
if($router_neu == 1) {
$router[$j] = new ffrouter();
$router[$j]->hersteller = $router_tmp[$i]['hersteller'];
$router[$j]->version = $router_tmp[$i]['version'];
$router[$j]->modell = $router_tmp[$i]['modell'];
$router[$j]->brokensysupgrade = 1;
$router[$j]->brokensysupgradelink = $firmware_download_path."broken/sysupgrade/".$files['broken']['sysupgrade'][$i];
}
}
}
}
$router_tmp = array();
if($variante['experimental']['factory'] == 1) {
for( $i=0; $i");
} else {
$router_neu = 1;
for( $j=0; $jhersteller, $router_tmp[$i]['hersteller']) == 0) && (strcasecmp($router[$j]->modell, $router_tmp[$i]['modell']) == 0) && (strcasecmp($router[$j]->version, $router_tmp[$i]['version']) == 0)) {
$router[$j]->experimentalfactory = 1;
$router[$j]->experimentalfactorylink = $firmware_download_path."experimental/factory/".$files['experimental']['factory'][$i];
$router_neu = 0;
}
}
if($router_neu == 1) {
$router[$j] = new ffrouter();
$router[$j]->hersteller = $router_tmp[$i]['hersteller'];
$router[$j]->version = $router_tmp[$i]['version'];
$router[$j]->modell = $router_tmp[$i]['modell'];
$router[$j]->experimentalfactory = 1;
$router[$j]->experimentalfactorylink = $firmware_download_path."experimental/factory/".$files['experimental']['factory'][$i];
}
}
}
}
$router_tmp = array();
if($variante['experimental']['sysupgrade'] == 1) {
for( $i=0; $i");
} else {
$router_neu = 1;
for( $j=0; $jhersteller, $router_tmp[$i]['hersteller']) == 0) && (strcasecmp($router[$j]->modell, $router_tmp[$i]['modell']) == 0) && (strcasecmp($router[$j]->version, $router_tmp[$i]['version']) == 0)) {
$router[$j]->experimentalsysupgrade = 1;
$router[$j]->experimentalsysupgradelink = $firmware_download_path."experimental/sysupgrade/".$files['experimental']['sysupgrade'][$i];
$router_neu = 0;
}
}
if($router_neu == 1) {
$router[$j] = new ffrouter();
$router[$j]->hersteller = $router_tmp[$i]['hersteller'];
$router[$j]->version = $router_tmp[$i]['version'];
$router[$j]->modell = $router_tmp[$i]['modell'];
$router[$j]->experimentalsysupgrade = 1;
$router[$j]->experimentalsysupgradelink = $firmware_download_path."experimental/sysupgrade/".$files['experimental']['sysupgrade'][$i];
}
}
}
}
$router_tmp = array();
if($variante['stable']['factory'] == 1) {
for( $i=0; $i");
} else {
$router_neu = 1;
for( $j=0; $jhersteller, $router_tmp[$i]['hersteller']) == 0) && (strcasecmp($router[$j]->modell, $router_tmp[$i]['modell']) == 0) && (strcasecmp($router[$j]->version, $router_tmp[$i]['version']) == 0)) {
$router[$j]->stablefactory = 1;
$router[$j]->stablefactorylink = $firmware_download_path."stable/factory/".$files['stable']['factory'][$i];
$router_neu = 0;
}
}
if($router_neu == 1) {
$router[$j] = new ffrouter();
$router[$j]->hersteller = $router_tmp[$i]['hersteller'];
$router[$j]->version = $router_tmp[$i]['version'];
$router[$j]->modell = $router_tmp[$i]['modell'];
$router[$j]->stablefactory = 1;
$router[$j]->stablefactorylink = $firmware_download_path."stable/factory/".$files['stable']['factory'][$i];
}
}
}
}
//print_r($files['stable']['sysupgrade']);
$router_tmp = array();
if($variante['stable']['sysupgrade'] == 1) {
for( $i=0; $i");
for( $j=0; $jhersteller, $router_tmp[$i]['hersteller']) == 0) && (strcasecmp($router[$j]->modell, $router_tmp[$i]['modell']) == 0) && (strcasecmp($router[$j]->version, $router_tmp[$i]['version']) == 0)) {
$router[$j]->stablesysupgrade = 1;
$router[$j]->stablesysupgradelink = $firmware_download_path."stable/sysupgrade/".$files['stable']['sysupgrade'][$i];
$router_neu = 0;
}
}
if($router_neu == 1) {
$router[$j] = new ffrouter();
$router[$j]->hersteller = $router_tmp[$i]['hersteller'];
$router[$j]->version = $router_tmp[$i]['version'];
$router[$j]->modell = $router_tmp[$i]['modell'];
$router[$j]->stablesysupgrade = 1;
$router[$j]->stablesysupgradelink = $firmware_download_path."stable/sysupgrade/".$files['stable']['sysupgrade'][$i];
}
}
}
}
for( $i=0; $ihersteller))) {
if(is_file(strtolower("router_images/".$router[$i]->hersteller."/".$router[$i]->modell."-".$router[$i]->version.".jpg"))) {
$router[$i]->imagefront = strtolower("router_images/".$router[$i]->hersteller."/".$router[$i]->modell."-".$router[$i]->version.".jpg");
} else {
$router[$i]->imagefront = "router_images/keinbild.jpg";
}
if(is_file(strtolower("router_images/".$router[$i]->hersteller."/".$router[$i]->modell."-".$router[$i]->version."_back.jpg"))) {
$router[$i]->imageback = strtolower("router_images/".$router[$i]->hersteller."/".$router[$i]->modell."-".$router[$i]->version."_back.jpg");
} else {
$router[$i]->imageback = "router_images/keinbild.jpg";
}
} else {
$router[$i]->imagefront = "router_images/keinbild.jpg";
$router[$i]->imageback = "router_images/keinbild.jpg";
}
}
?>