require "../../inc/init_db.php"; ?>
$page_name = 'soft';
extract($_REQUEST, EXTR_PREFIX_ALL|EXTR_REFS, 'r');
include "../../inc/headere.php";
$soft_mask = 0;
if (!isset($r_spec)) $r_spec = "";
switch ($r_spec) {
case "dev": $soft_mask = 1; break;
case "webwin": $soft_mask = 2; break;
case "webnix": $soft_mask = 4; break;
case "raddev": $soft_mask = 8; break;
case "gisdev": $soft_mask = 16; break;
case "windev": $soft_mask = 32; break;
case "graph": $soft_mask = 256; break;
case "design": $soft_mask = 256 * 2; break;
case "3dmodel": $soft_mask = 256 * 4; break;
case "artist": $soft_mask = 256 * 8; break;
case "guru": $soft_mask = 65536; break;
case "winhack": $soft_mask = 65536 * 2; break;
case "nixhack": $soft_mask = 65536 * 4; break;
case "gamer": $soft_mask = 65536 * 8; break;
case "surfer": $soft_mask = 65536 * 16; break;
case "user": $soft_mask = 65536 * 32; break;
default: $soft_mask = 0; break;
};
?>
Software which should be installed on a computer for:
coder /web-win-coder , web-unix-coder , RAD-coder , GIS-coder , system coder /
designer /web-designer , 3D-modeler+architector , polygrapher+2D-artist /
guru /win-cracker , unix-hacker , gamer , surfer , user /
if (isset($r_spec)) {
$result = mysql_query("SELECT soft_groups_id, soft_groups_order, soft_groups_name_eng FROM soft_groups ORDER BY soft_groups_order");
for ($i = 0; $i < mysql_num_rows($result); $i++) {
list($soft_groups_id, $soft_groups_order, $soft_groups_name) = mysql_fetch_array($result);
$result_items = mysql_query("SELECT soft_items_id, soft_items_order, soft_items_name, soft_items_link, soft_items_info, soft_items_date, soft_items_size, soft_items_type, soft_items_target FROM soft_items WHERE soft_groups_id = $soft_groups_id ORDER BY soft_items_order");
$f_title = 0;
for ($j = 0; $j < mysql_num_rows($result_items); $j++) {
list($soft_items_id, $soft_items_order, $soft_items_name, $soft_items_link, $soft_items_info, $soft_items_date, $soft_items_size, $soft_items_type, $soft_items_target) = mysql_fetch_array($result_items);
if ($soft_mask == 0) {
if ($soft_items_id == 3)
list($soft_items_id, $soft_items_order, $soft_items_name, $soft_items_link, $soft_items_info, $soft_items_date, $soft_items_size, $soft_items_type, $soft_items_target) = mysql_fetch_array($result_items);
if ($soft_items_id == 4)
list($soft_items_id, $soft_items_order, $soft_items_name, $soft_items_link, $soft_items_info, $soft_items_date, $soft_items_size, $soft_items_type, $soft_items_target) = mysql_fetch_array($result_items);
if ($soft_items_id == 10)
list($soft_items_id, $soft_items_order, $soft_items_name, $soft_items_link, $soft_items_info, $soft_items_date, $soft_items_size, $soft_items_type, $soft_items_target) = mysql_fetch_array($result_items);
if ($soft_items_id == 139)
list($soft_items_id, $soft_items_order, $soft_items_name, $soft_items_link, $soft_items_info, $soft_items_date, $soft_items_size, $soft_items_type, $soft_items_target) = mysql_fetch_array($result_items);
};
if ($r_spec <> "nixhack") {
if ($soft_items_id == 112)
list($soft_items_id, $soft_items_order, $soft_items_name, $soft_items_link, $soft_items_info, $soft_items_date, $soft_items_size, $soft_items_type, $soft_items_target) = mysql_fetch_array($result_items);
if ($soft_items_id == 113)
list($soft_items_id, $soft_items_order, $soft_items_name, $soft_items_link, $soft_items_info, $soft_items_date, $soft_items_size, $soft_items_type, $soft_items_target) = mysql_fetch_array($result_items);
};
if ($soft_items_size <= 500000) $soft_items_size_str = round($soft_items_size/1024,1)."Kb";
else $soft_items_size_str = round($soft_items_size/(1024*1024), 1)."Mb";
// echo (intval($soft_items_target) & intval($soft_mask));
if (($soft_items_target & $soft_mask) == $soft_mask) {
if ($f_title == 0) {
?>
echo $soft_groups_name; ?>:
$f_title = 1;
};
?>
echo $soft_items_name; ?>
if ($soft_items_link <> "") {
if ($soft_items_link == "-")
echo "download ";
else
if ((substr($soft_items_link, 0, 7) <> "http://") && (substr($soft_items_link, 0, 6) <> "ftp://") && (substr($soft_items_link, 0, 7) <> "mailto:"))
echo "download ";
else {
$pos_soft_items_link = strpos($soft_items_link, ",");
if ($pos_soft_items_link == false)
echo "download ";
else
echo "download + ";
};
}; ?>
if ($soft_items_info <> "") echo "info "; ?>
//if ($soft_items_date <> "") echo "".date("d.m.y", strtotime($soft_items_date))." "; ?>
if ($soft_items_size <> "") echo "".$soft_items_size_str." "; ?>
echo $soft_items_type; ?>
};
};
mysql_free_result($result_items);
};
mysql_free_result($result);
};
?>
P.S. I have no anything against Unix-clone fans and Mac fans.
P.P.S. For all listed software somewhere there are cracks(C) and universal serial numbers(S), but i don't have it, i don't send it and i don't give a link to it , it is necessary to search carefully for them on the internet, and the part of programs either is freeware(F), or exUSSR-freeware(R), or shareware(W).
include "../../inc/footere.php"; ?>