?>
<script type='text/javascript' language='Javascript' src='https://sivasspor.web.tr/includes/jquery/colorbox/jquery.colorbox.js'></script>
<style type='text/css' media='screen'>@import url(https://sivasspor.web.tr/includes/jquery/colorbox/colorbox.css);</style>
<div id='but' style='display:none; height:222px; overflow:auto;'><a class='colorbox' href='https://sivasspor.web.tr/images/ramazan_bayrami.gif' id='logondsp' title='Ramazan Bayramýnýz Mübarek Olsun'></a></div>
<script language='Javascript' type='text/javascript'>
$(function() {
$('#logondsp').colorbox().click();
});
</script>
<?
openside("Haberler");
echo "<style type='text/css'>
.ozet {
background-color: #333333;
display: block;
height: 93px;
padding: 0px 5px 14px 11px;
text-align: left;
box-shadow:inset 0px 0px 15px white;
-moz-box-shadow:inset 0px 0px 15px white;
-webkit-box-shadow:inset 0px 0px 15px white;
}
.ozet a{
font-size: 12px;
text-decoration: none;
line-height: 130%;
color: white;
font-family: verdana;
}
a {
text-decoration: none;
}
a.yazi {
font: 35px/25px 'IMPACT',Helvetica,Arial,sans-serif;
color: #333333;
text-shadow: 6px 1px 10px red;
}
.h1{
margin:0px;
}
body.badi{
margin:0px;
padding:0px;
}
#catmenu ul, #catmenu ul li, #catmenu ul li a {
width:270px; display: block;
}
#catmenu {
/*nargin:-10px;*/
width:180px;
display: block;
color: #333333;
margin-left:4px;
/*background-color:#dddddd;*/
}
#catmenu ul{
margin:0px;
margin-left:-10px;
text-align: left;
line-height: normal;
margin: 1px;
padding: 0;
display: block;
/*border: solid #4B7E97;
border-width: 0px 0px 1px 0px; */
}
#catmenu ul li{
list-style-type: none;
display: block;
/*white-space: nowrap;
/*border: solid #4B7E97;
border-width: 1px 1px 0px 1px;*/
}
#catmenu ul li a{
color: #000000;
text-decoration: none;
padding-top: 3px;
padding-bottom: 1px;
padding-left:6px;
padding-right:-20px;
height: 20px;
background-color:#ffffff;
border: solid #cccccc;
border-width: 0px 0px 1px 0px;
margin-left:0px;
font-size: 15px;
font-family: tahoma;
}
#catmenu ul li a:hover, #catmenu ul li a.selected{
color: #ffffff;
height: 20px;
background-color: #DE1F28;
text-decoration: none;
-moz-box-shadow: inset 0 0 10px #ffffff;
-webkit-box-shadow: inset 0 0 10px #ffffff;
box-shadow: inset 0 0 10px #ffffff;
}
.resimArka{
box-shadow:inset 0px 0px 15px red;
-moz-box-shadow:inset 0px 0px 15px red;
-webkit-box-shadow:inset 0px 0px 15px red;
background-color:#333333;
}
</style>
";
echo "<script type='text/javascript'>
function hide(divID) { document.getElementById(''+divID+'').style.display = 'none'; }
function displayCatdiv(divID) { document.getElementById(''+divID+'').style.display = 'block'; }
function openWin( windowURL, windowName, windowFeatures ) { window.open(windowURL,windowName,windowFeatures); }
</script>
<table cellpadding='0' cellspacing='1' border='0' width='200'>
<tr>
<td class='tbl1'>
<table cellspacing='0' cellpadding='0' width='95%' border='0'>
<tr>
<td width='100%' colspan='3'>
<table cellspacing='0' cellpadding='0' width='100%' border='0'>
<tr>
<td height='40' valign='top'>";
$result = dbquery("SELECT * FROM ".DB_NEWS." ORDER by
news_sticky DESC, news_id DESC LIMIT 0,11");
if (dbrows($result)) {
while ($data = dbarray($result)) {
echo "<div id='titt".$data['news_id']."-sptt' style='display:block; padding:0px 0px 5px 4px;'><h1 class='h1' title='".$data['news_subject']."'><a class='yazi' href='infusions/news/news.php?readmore=".$data['news_id']."' target='_parent'>".trimlink($data['news_subject'], 35)."</a></h1></div>";
}
}
echo "</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width='233' valign='top'>
<table cellspacing='0' cellpadding='0' width='233' border='0'>
<tr>
<td class='resimArka' width='233' height='180' align='center'>";
$result = dbquery("SELECT * FROM ".DB_NEWS." ORDER by news_sticky DESC, news_id DESC LIMIT 0,11");
if (dbrows($result)) {
while ($data = dbarray($result)) {
if ($data['news_image'] != "") {
echo "<div id='tits".$data['news_id']."-imaj' style='display:block'><a href='infusions/news/news.php?readmore=".$data['news_id']."' target='_parent'><img src='".IMAGES_N_T.$data['news_image_t2']."' height='168' width='221' border='0' alt='".$data['news_subject']."'></a></div>";
} else {
echo "<div id='tits".$data['news_id']."-imaj' style='display:block'><img src='".IMAGES_N."news.gif' height='168' width='221' border='0' alt='".$data['news_subject']."'></div>";
}
}
}
echo "</td>
</tr>
<tr>
<td height='40' valign='top'>";
$result = dbquery("SELECT * FROM ".DB_NEWS."
ORDER by news_sticky DESC, news_id DESC LIMIT 0,11");
if (dbrows($result)) {
while ($data = dbarray($result)) {
//habe özet bölümü
echo "<div id='tits".$data['news_id']."-spot' class='ozet'><a href='infusions/news/news.php?readmore=".$data['news_id']."' target='_parent'><span>".substr(stripslashes(nl2br(strip_tags($data['news_news']))), 0,155)." [".$data['news_reads']."]</span></a></div>";
}
}
echo "</td>
</tr>
</table>
</td>
<td valign='top'>
<table width='285' border='0' cellspacing='0' cellpadding='0'>
<tr><td id='catmenu'>
";
$result = dbquery("SELECT * FROM ".DB_NEWS." ORDER by news_sticky DESC, news_id DESC LIMIT 0,11");
if (dbrows($result)) {
while ($data = dbarray($result)) {
echo "<ul>";
echo "<li><a href='infusions/news/news.php?readmore=".$data['news_id']."' onmouseover='displayDiv(".$data['news_id'].")' title='".$data['news_subject']."' target='_parent'>".trimlink($data['news_subject'], 36)."</a></li>";
echo "</ul>";
}
}
echo "
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<script type='text/javascript'>
function displayDiv(divID) {";
$FirstNews = null;
$result = dbquery("SELECT * FROM ".DB_NEWS." ORDER by news_sticky DESC, news_id DESC LIMIT 0,11");
if (dbrows($result)) {
while ($data = dbarray($result)) {
if ($FirstNews == null) $FirstNews = $data;
echo "
hide('titt".$data['news_id']."-sptt');
hide('tits".$data['news_id']."-spot');
hide('tits".$data['news_id']."-imaj');
document.getElementById('titt'+divID+'-sptt').style.display = 'block';
document.getElementById('tits'+divID+'-spot').style.display = 'block';
document.getElementById('tits'+divID+'-imaj').style.display = 'block';";
}
}
echo "}";
if ($FirstNews != null) {
echo "displayDiv(".$FirstNews['news_id'].");";
}
echo "</script>";
closeside();
$result = dbquery("SELECT n.*, ni.*
FROM ".DB_NEWS." AS n
LEFT JOIN ".DB_NEWS_IMAGES." AS ni ON ni.news_id=n.news_id AND n.news_image_front_default=ni.news_image_id
ORDER by
n.news_sticky DESC, n.news_id DESC LIMIT 0,11);
// Since the forum doesn't support TABS, i'll code in ternary.
if (dbrows($result)) :
while ($data = dbarray($result) :
//print_p($data); // uncomment to see $data var
echo "<div id='tits".$data['news_id']."-imaj' style='display:block'><a href='infusions/news/news.php?readmore=".$data['news_id']."' target='_parent'><img src='".IMAGES_N_T.$data['news_image_t2']."' height='168' width='221' border='0' alt='".$data['news_subject']."'></a></div>";
endwhile;
endif;
if (!defined("IN_FUSION")) { die("Access Denied"); }
defined('IN_FUSION') || exit;
Category Forum
System Administration - 9Labels
None yet
Statistics
5 participants
Notifications
You are not receiving notifications from this thread.
Related Questions