Tolik rozruchujen v LopuchuLopuch.cz
vyse uvedeny hosting nadmerne zatezuje nasi mailfarmu rozesilanim hromadne posty viz nize: Subject: Disabling domain xxx.cz Domain: xxx.cz Time interval: 240 s Message limit: 120 Disabled until: 2010-02-16 16:42:31 Actual message information: Host: xxx From: xxx Subject: xxx To: xxx@seznam.cz Virtual: www.xxx.cz X-hosting-uri: /xxx/pes.php Pro hromadne rozesilani emaiuli je urcena apliakce Mailer dostupna pod uctem Webcontrol. Pri pokracujici teto zatezi bychom byli nuceni emaily blokovat. Kontaktujte nas s vyjadrenim k reseni situace.
$cat_array = $cat_obj->getCategoriesArray('NULL', "--", "");
echo '<select>';
foreach($cat_array['name'] as $key =>$catname) {
echo '<option name="neco" value="' . $cat_array['id'][$key] . '">' .
htmlspecialchars($catname) . '</option>';
}
echo '</select>';
$cat_obj = new Categories(); $cat_array =$cat_obj->getCategoriesArray(); //For dropdowns $cat_array = $cat_obj->getCategoriesArray("0", "--", ""); foreach($cat_array['name'] as $key =>$catname) { echo $cat_array['id'][$key]; echo $catname; } ?>
$cat_obj = new Categories(); $cat_array =$cat_obj->getCategoriesArray(); //For dropdowns //$cat_array = $cat_obj->getCategoriesArray(0, "--", ""); foreach($cat_array['name'] as $key =>$catname) { //id---->echo $cat_array['id'][$key]; echo $catname; } ?>
function getCategoriesArray($parent_id ='NULL', ....
function getAllSubCategories($parent_id) {
$result = mysql_query("SELECT * FROM categories WHERE parentid" . ($parent_id == 'NULL' ? ' is ' : '=') . $parent_id);
return $result;