• Help
  • Search
  • Login
  • Register
  • Home

Forum: web design and graphics community

  Show Posts
Pages: [1]
1  Web Development / Advertisements / Affiliation / Re: iHeart on: December 22, 2007, 09:28:05 PM
aww thank you =]

It was hard to skin. believe me xD
2  Web Development / Advertisements / Affiliation / iHeart on: December 22, 2007, 02:19:40 PM
http://iheart-you.net

This is a site my friend and I own.
Its a blog and a graphics site, but then we have a lot of other sub-sites, like review, contests, and portfolio.
Its a really nice site, founded on Nov. 11 2006.
We mostly blog on this site, but we also make graphics and post reviews, and also have stories in our portfolio.

We are currently looking for affiliates to boost our site up, so more people can see and read it :D

We are always open to constructive critisism =]



3  Web Development / Web Design / Re: A DX Design on: December 22, 2007, 02:07:32 PM
Such an amazing design!

The flash is awesome!

The image is nice too.

The coding is realy nice.

Good Job :D
4  Web Development / Web Design / Re: New Attempt At Tables on: December 22, 2007, 02:05:40 PM
Oh wow, its amazing.

The colour is brilliant. The size is petite, I don't like the render, but overall, its amazing.

The font in the coding could do with some work. Try CENTURY GOTHIC. :D
5  Web Development / Web Design / Re: Ulquiorra Style on: December 22, 2007, 02:03:52 PM
Wow. That is awesome!!!

The effects and the image are amazing. The navigation and content are nice and the coding is good too.

It is definitly good. :D
6  Web Development / Web Design / Re: Gundam 00 layout on: December 22, 2007, 02:02:15 PM
The quality of your layout is amazing. I love the glossy look. Everything is okay, except try adding a border around the layout, and a background, like maybe stripped?

The coding is very average, but its okay. The scroll bar doesn't match. I suggest everything black except the arrow, which will be white.

The footer isn't that good either.

But overall, nice work :D
7  Web Development / Coding / Re: PHP: Skinning your site on: December 22, 2007, 12:56:18 PM
Quote from: Vangs on December 22, 2007, 06:34:43 AM
Change the cookiecheck file to this:

Code:
<?php
$total_skins 
= 3;
$default_skin = 3;

if(isset(
$_COOKIE['skin']))
{
$default_skin = intval($_COOKIE['skin']);
}

if (isset(
$_REQUEST['newskin'])) {
$newskin=(int)$_REQUEST['newskin'];
if ( (
$newskin<1) OR ($newskin>$total_skins) )
$newskin=$default_skin;
} elseif (isset(
$_REQUEST['skin'])) {
$newskin=(int)$skin;
if ( (
$skin<1) OR ($skin>$total_skins) )
$newskin=$default_skin;
} else 
$newskin=$default_skin;

$skin=$newskin;
setcookie ('skin', "", time() - 3600);
setcookie('skin',$newskin,time()+(86400*365),'/');
setcookie('skin',$newskin,time()+(86400*365),'/','.iheart-you.net');
$skin=$newskin;

$headervar = "/home/iheart/public_html/skins/$newskin/header";
$footervar = "/home/iheart/public_html/skins/$newskin/footer";
$extension = ".php";
?>

This now checks for the existence of a cookie file which is set if the user changes their skin.

wow. thank you so much :D it works!

thanks again
8  Web Development / Coding / PHP: Skinning your site on: December 21, 2007, 10:17:22 PM
Heres my site: http://iheart-you.net

the problem is that when you change skins, it works, BUT if you go to a different page, the skin doesn't stay the same, it goes back to default. How do I fix that?

Here are the codes:

cookiecheck:

Quote
<?

$total_skins = 3;
$default_skin = 3;

if (isset($_REQUEST['newskin'])) {
$newskin=(int)$_REQUEST['newskin'];
if ( ($newskin<1) OR ($newskin>$total_skins) )
$newskin=$default_skin;
} elseif (isset($_REQUEST['skin'])) {
$newskin=(int)$skin;
if ( ($skin<1) OR ($skin>$total_skins) )
$newskin=$default_skin;
} else $newskin=$default_skin;

$skin=$newskin;
setcookie ('skin', "", time() - 3600);
setcookie('skin',$newskin,time()+(86400*365),'/');
setcookie('skin',$newskin,time()+(86400*365),'/','.iheart-you.net');
$skin=$newskin;

$headervar = "/home/iheart/public_html/skins/$newskin/header";
$footervar = "/home/iheart/public_html/skins/$newskin/footer";
$extension = ".php";
?>

index:

Quote
<? include("/home/iheart/public_html/skins/cookiecheck.php");?>

<? include($headervar.$extension); ?>

<?php
$id=basename($id);
if(!$id)
include("main.php");
else
include($id);
?>

<? include($footervar.$extension); ?>

the navigation would go like this:

<a href="index.php?id=site.php">site</a>
This code wont let me switch pages, but thats what the tutorial said. I was just wondering how to a) make the skins switch and stay switched, and how to do that AND have my pages working.

Hope someone can help =]
Pages: [1]
  • Welcome, Guest
  • Members login
  • Register for free

General

  • General
  • New members
  • Announcements
  • Support / Suggestions

Art boards

  • Creative mediums
  • Requests and offers
  • Tutorials
  • Celestial Star tutorials

Web development

  • Coding
  • Web design
  • Advertisements / affiliation

Off-topic

  • The non-sense
  • Ententainment

Go up
eXTReMe Tracker
  • Valid XHTML
  • Valid CSS
Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC | Seo4Smf v0.2 © Webmaster's Talks
Loading...