* ******************************************************************************/ //if (ereg("(hm_id|typval|t_id|n_id)", $_SERVER['QUERY_STRING'])) // diewithstatus(301); // old data - permanently moved if(getenv(HTTP_CLIENT_IP)) { $onlineip = getenv(HTTP_CLIENT_IP); } elseif(getenv(HTTP_X_FORWARDED_FOR)) { $onlineip = getenv(HTTP_X_FORWARDED_FOR); } else { $onlineip = getenv(REMOTE_ADDR); } if($loginerror || $isConfig['usebuffer'] == 'normal' || $isConfig['compress_source']) { ob_start(); $ob_started = true; } else if(substr_count($_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip') && extension_loaded('zlib') && $isConfig['usebuffer'] == 'gzip') ob_start("ob_gzhandler"); if($isConfig['allow_caching']) { if($mod == "news" && $id) { $query = mysql_query("SELECT UNIX_TIMESTAMP(datum) FROM news WHERE n_id = '".$id."' LIMIT 1;") or die(mysql_error()); $mtime = mysql_result($query,0); } if($mod == "calendar" && $id) { $query = mysql_query("SELECT UNIX_TIMESTAMP(datum) FROM calendar_post WHERE kp_id = '".$id."' LIMIT 1;") or die(mysql_error()); $mtime = mysql_result($query,0); } else if($mod == "text" && $id) { $query = mysql_query("SELECT UNIX_TIMESTAMP(andrad_datum) FROM text WHERE t_id = '".$id."' LIMIT 1;") or die(mysql_error()); $mtime = mysql_result($query,0); } else $mtime=filemtime($_SERVER["SCRIPT_FILENAME"]); $gmt_mtime = date('D, d M Y H:i:s', $mtime) . ' GMT'; $headers = getallheaders(); if(isset($headers["If-Modified-Since"])) { if ($headers["If-Modified-Since"] == $gmt_mtime) { ob_start(); header("HTTP/1.1 304 Not Modified"); ob_end_clean(); exit; } } header("Last-Modified: ".$gmt_mtime); header("Cache-Control: max-age=".$isConfig['cache_timeout'].", must-revalidate"); header('Expires: ' . gmdate('D, d M Y H:i:s', time() + $isConfig['cache_timeout']) . ' GMT'); } if(!$_GET['m_id']) { // Get the first menu $query = mysql_query("select m.m_id from menu m LEFT JOIN module_view mv ON mv.mv_id = m.mv_id LEFT JOIN module mo ON mo.mo_id = mv.mo_id LEFT JOIN language la ON m.la_id=la.la_id where m.parentID='0' AND la.prefix='".$language_pfx."' order by m.pos LIMIT 1;") or die(mysql_error()); $_GET['m_id'] = mysql_result($query,0); } if(($_GET['m_id'] != "search") && (isset($_GET['s'])) && ($_GET['s'] != "")) { $s = $_GET['s']; $searchwordsall = ""; $searchwordcolor[1] = "yellow"; $searchwordcolor[2] = "aqua"; $searchwordcolor[3] = "orange"; $searchwordcolor[4] = "red"; $searchwordcolor[5] = "fuchsia"; $searchwordcolor[6] = "lime"; $searchwordcolor[7] = "maroon"; $searchwordcolor[8] = "blue"; $searchwordcolor[9] = "gray"; $searchwordcolor[10] = "green"; $swarray = explode(" ", str_replace("\"","",stripslashes($_GET['s']))); $swc = 0; while($swarray[$swc] != "") { $allfuncs .= "localSearchHighlight('?h=".str_replace(","," ",$swarray[$swc])."',". ($swc+1) .");\n"; $allclasses .= ".searchword_". ($swc+1) .", .searchword_". ($swc+1) .":visited, .searchword_". ($swc+1) .":hover {cursor:pointer;background-color:". ($swctmp = ($sow['linkname'] : $blogrow['m_id']; // m_id for newsletter $newsletterquery = mysql_query("SELECT m.m_id,m.linkname FROM module mo LEFT JOIN module_view mv ON mv.mo_id=mo.mo_id LEFT JOIN menu m ON m.mv_id=mv.mv_id WHERE mo.name='newsletter' AND mv.name='list_archive' LIMIT 1;") or die(mysql_error()); $newsletterrow = mysql_fetch_array($newsletterquery); $newsletter_m_id = ($newsletterrow['linkname']) ? $newsletterrow['linkname'] : $newsletterrow['m_id']; $newsletter_reglink = $modcontent->url($_SERVER['PHP_SELF']."?m_id=".$newsletter_m_id); // Check if one or serval active languages language $query = mysql_query("SELECT count(*) as antal FROM language la WHERE la.active='1' AND la.published='1'") or die(mysql_error()); $count_row = mysql_fetch_array($query); /// Get language list if more than one language if($count_row[antal] > 1) { $query = mysql_query("SELECT la.name as la_name,la.la_id,la.prefix, f.f_id, f.lank, f.kat, f.thumbnail FROM language la, filer f WHERE la.f_id = f.f_id AND la.active='1' AND la.published='1' order by la_id") or die(mysql_error()); while($row = mysql_fetch_array($query)) { if ($language_id == $row[la_id]) { $active_language_html .= " "; $language_label = (!strpos($supportslang, basename($PHP_SELF, ".php")) === FALSE) ? " - " . $row[la_name] : ""; } else $active_language_html .= "url($PHP_SELF . '?lang='.$row['prefix'])."';\" title='".$row[la_name]."' alt=''> "; } } $query = mysql_query("SELECT * FROM installningar WHERE la_id='$language_id' LIMIT 1;") or die(mysql_error()); $row = mysql_fetch_array($query); $homepage_defaulttitle = $row['titel']; $homepage_descr:100%;height:100%;background-color:#f6f6f7; cursor:default; filter:alpha(opacity=80);-moz-opacity:0.8;opacity:.80;text-align:center;\" onFocus=\"this.blur();\" onClick=\"this.blur();\" ondragstart=\"return false;\" onselectstart=\"return false;\" oncontextmenu=\"return false;\"> "; $intrawebincludes = " "; } ?> 1111 - Veckans TV

Veckans Tv

 

Här kommer vi att bjuda på TV-tips, gamla favoriter och nyheter i tablån. Väl mött!

Copyright ©2017 En mammas dagIntegritet/CookiesSidkarta • • Logga inLaddningstid: 0.03 sek