» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 67
0 members and 67 guests
No Members online
Most users ever online was 611, 03-21-2008 at 11:10 PM.
» .::.
Web Hosting - web hosting, dedicated servers and web design services
Online Degree - search for 1000+ online degrees, online colleges & online universities.
Tattoo - we are a group of tattoo enthusiasts
Gexa Energy - your absolute best choice in electric service
Texas electricity - save on electric rates
Football Betting - best nfl betting promotions at sportsbook.com.
Oral Chelation - initial cleansing of your veins & arteries
Portatiles - Ofertas en Ordenadores y Portatiles. Increibles Ofertas DELL.

Register Now! Contact Us

About this Page
This is a discussion on background pic on center block within the Site design forums, part of the General category; I've just added a"all info" block shows new links, news and stuff I want a bar ...


Go Back   Nukemods Forum » General » Site design

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-15-2003, 05:59 PM
Junior Member
 
Join Date: Mar 2003
Location: Denmark
Posts: 40
Send a message via MSN to GorGonDo
background pic on center block
I've just added a"all info" block shows new links, news and stuff
I want a bar pic as backgound for the title as on right and left side. Been over the theme files found out it's a little deeper than that probably some php file which I don't want 2 mess with, without asking first :mrgreen:

Nuke is 6.5 so is my theme

hope 4 a reply

cheers
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-15-2003, 07:30 PM
Junior Member
 
Join Date: Mar 2003
Location: Denmark
Posts: 40
Send a message via MSN to GorGonDo
could I make html file 2 control it like story_home.html
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-15-2003, 09:02 PM
Senior Member
 
Join Date: Sep 2002
Posts: 2,905
Without knowing exactly what this block is all about, it's hard to specualte.

Can you post it or Download so we can take a look at it?

mikem
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-15-2003, 09:22 PM
Junior Member
 
Join Date: Mar 2003
Location: Denmark
Posts: 40
Send a message via MSN to GorGonDo
Code:
<?php

/************************************************************************/
/* PHP-NUKE: Web Portal System                                          */
/* ===========================                                          */
/*                                                                      */
/* PHP All Info Block by: SlimBrady                                     */
/* http://unitedgamerz.net                                              */
/*                                                                      */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License.       */
/************************************************************************/
if (eregi("block-All_Info.php", $_SERVER['PHP_SELF'])) {
    Header("Location: index.php");
    die();
}

global $prefix, $multilingual, $currentlang, $db;

if ($multilingual == 1) {
    $querylang = "WHERE (alanguage='$currentlang' OR alanguage='')";
} else {
    $querylang = "";
}
$content = "<table width=\"100%\" border=\"0\">";
$content .= "<tr><td align=\"left\">Headlines:
";
$sql = "SELECT sid, title, comments, counter FROM ".$prefix."_stories $querylang ORDER BY sid DESC LIMIT 0,10";
$result = $db->sql_query($sql);
while ($row = $db->sql_fetchrow($result)) {
    $sid = $row[sid];
    $title = $row[title];
    $comtotal = $row[comments];
    $counter = $row[counter];
    $content .= "<big>&</big>&<a href=\"modules.php?name=News&file=article&sid=$sid\">$title</a>
";
}
$content .= "<big>&</big>&<a href=\"modules.php?name=News\">More News...</td>";
?>
<?php


if (eregi("block-All_Info.php",$PHP_SELF)) {
    Header("Location: index.php");
    die();
}

global $prefix, $dbi;

$a = 1;
$result = sql_query("select lid, title from ".$prefix."_downloads_downloads order by hits DESC limit 0,5", $dbi);
	$content .= "<td valign=\"top\">Top Downloads:
";
while(list($lid, $title) = sql_fetch_row($result, $dbi)) {
    $title2 = ereg_replace("_", " ", $title);
    $content .= "<big>&</big>&$a: <a href=\"modules.php?name=Downloads&d_op=viewdownloaddetails&lid=$lid&title=$title\">$title2</a>
";
	$a++;
}
$content .= "
";
?>
<?php
if (eregi("block-All_Info.php",$PHP_SELF)) {
    Header("Location: index.php");
    die();
}

global $prefix, $dbi;

$a = 1;
$result2 = sql_query("select lid, title from ".$prefix."_downloads_downloads order by date DESC limit 0,5", $dbi);
	$content .= "New Downloads:
";
while(list($lid3, $title3) = sql_fetch_row($result2, $dbi)){
	$title4 = ereg_replace("_", " ", $title3);
	$content .= "<big>&</big>&$a: <a href=\"modules.php?name=Downloads&d_op=viewdownloaddetails&lid=$lid3&title=$title3\">$title4</a>
";
    $a++;
	}
	$content .= "</table></td></tr>";
	?>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 04-15-2003, 09:35 PM
Junior Member
 
Join Date: Mar 2003
Location: Denmark
Posts: 40
Send a message via MSN to GorGonDo
I dunno why it should have anything 2 do with the block just that I don't have any html file 2 control design with when I put the block in center
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 04-15-2003, 09:40 PM
Senior Member
 
Join Date: Sep 2002
Posts: 2,905
hmm..well, I don't think I can get it to do what you want...not enough html in it.

You'll just have to experiment with it.
You can see the html in the file, and get the idea of what the html looks like in a php file, but that block really doesn't have a lot going on... :?

mikem
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
MsTrenches Block background color joshmosh Theme packs 2 03-17-2005 02:04 PM
Change the block background colour in subBlack3dBlue. Voodoo Site design 3 11-26-2004 06:56 PM
center block time jeffk Nuke 6.5 to 6.9 - Blocks 3 06-20-2003 04:33 AM
Forum Center Block 6.5 FleaSOG Nuke 6.5 to 6.9 - Blocks 3 06-18-2003 03:34 PM
How can I put a Center Block below the New Stories? rasputin Purged Topics 0 06-15-2003 02:49 AM


All times are GMT -5. The time now is 10:07 AM.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.

LinkBacks Enabled by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31