• Help
  • Search
  • Login
  • Register
  • Home

Forum: web design and graphics community

  Show Posts
Pages: [1] 2
1  Art Boards / Creative mediums / another wallie! on: July 03, 2005, 12:49:05 PM
I love the first one ^o^ the blue brushes really artistical... you copied for  multiple layers?
2  Web Development / Coding / Oh no... my avatars come to the next line! on: July 03, 2005, 12:43:19 PM
Hmm Thanks for your notice ^-^ but Shiva's code is just like a div one, my coding is table... could youplease help me? and now is turning out like this: http://wag.folieadeux.org/phptest.php all the avatars are in one line X_X
3  Web Development / Coding / Oh no... my avatars come to the next line! on: June 29, 2005, 04:32:13 AM
why.. why noone want to help me?  :cry: I am checking this forum everyday...
4  Web Development / Coding / Oh no... my avatars come to the next line! on: June 22, 2005, 08:20:49 PM
I really don't know what I am doing but my avatars are taking much space at the content area! see here http://wag.folieadeux.org/avatarsbase.php you see right? And what code I should input? This is the entire coding of avatarsbase.php

Code:
<!--- disable rightclick --->
<script language=JavaScript>
var message="";
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}

document.oncontextmenu=new Function("return false")

</script>
<?
include ('connection.php');
include('header.php');
echo "<table width=93% align=center>
    <tr>
      <td valign=top class=borderz><div align=center><strong>-&raquo; {Avatars} &laquo;- : -&raquo; {Special and Anime} &laquo;- </strong></div></td>
    </tr>
    <tr>
      <td class=borderx>Hello, You are in avatar section. Please click each image you want to download and a popup window will appear =) please <a href=report.php>inform me</a> if there is anything error. Or you can <a href=donate.php>donate avatars.</a></td>
    </tr>
  </table>";
$query = "select * from `avatars` order by id desc";
$result= mysql_query($query, $connection) or die
("Could not execute query : $query." . mysql_error());
// dynamic navigation variables
$screen = $_GET['screen'];
$PHP_SELF = $_SERVER['PHP_SELF'];

$rows_per_page=10;
$total_records=mysql_num_rows($result);
$pages = ceil($total_records / $rows_per_page);

if (!isset($screen))
$screen=0;
$start = $screen * $rows_per_page;
$query .= " LIMIT $start, $rows_per_page";
$result= mysql_query($query) or die
("Could not execute query : $query ." . mysql_error());

$i=0; // set the column indicator
echo '<table width=100% border=0>
  <tr>
    <td class=borderz><div align="center">Avatars Database 100x100</div></td>
  </tr>
  <tr>
    <td class=borderx>
<table width=97% align=center>
<tr>'; // open table tag here

// dynamic navigation variables
while ($row = mysql_fetch_array($result))
{
extract($row);

$id=$row["id"];
$artist=$row["artist"];
$series=$row["series"];
$category=$row["category"];
$avatarimage=$row["avatarimage"];
$date=$row["date"];
$downloadone=$row["downloadone"];
$counterone=$row["counterone"];

if ($i==0)
{
echo "<td class=\"borderx\"><p align=\"center\"><a HREF=dava.php?id=$id target=_blank><img src=\"$avatarimage\" width=\"100\" height=\"100\"
alt=\"Avatar No.: $id
Date added: $date
Series : $series
Designer : $artist
Download : $counterone times\"></a></td>
</td>";
}
elseif ($i==2)
{
echo "<td class=\"borderx\"><p align=\"center\"><a HREF=dava.php?id=$id target=_blank><img src=\"$avatarimage\" width=\"100\" height=\"100\"
alt=\"Avatar No.: $id
Date added: $date
Series : $series
Designer : $artist
Download : $counterone times\"></a></td>
</td>";
}
else
{
echo "<td class=\"borderx\"><p align=\"center\"><a HREF=dava.php?id=$id target=_blank><img src=\"$avatarimage\" width=\"100\" height=\"100\"
alt=\"Avatar No.: $id
Date added: $date
Series : $series
Designer : $artist
Download : $counterone times\"></a></td>
</td>";
}
else
{
echo "<td class=\"borderx\"><p align=\"center\"><a HREF=dava.php?id=$id target=_blank><img src=\"$avatarimage\" width=\"100\" height=\"100\"
alt=\"Avatar No.: $id
Date added: $date
Series : $series
Designer : $artist
Download : $counterone times\"></a></td>
</td>";
}
else
{
echo "<td class=\"borderx\"><p align=\"center\"><a HREF=dava.php?id=$id target=_blank><img src=\"$avatarimage\" width=\"100\" height=\"100\"
alt=\"Avatar No.: $id
Date added: $date
Series : $series
Designer : $artist
Download : $counterone times\"></a></td>
</td>";
} #end if

$i++; $i=$i%2; // mod 2 gives you the remainder


} #end while
echo "</tr>
</table></td>
</tr>
</table>"; // close table
// Insert Code B Here

// create the dynamic links
if ($screen > 0) {
$j = $screen - 1;
$url = "$PHP_SELF?screen=$j";
echo "<a href=\"$url\">Prev</a>";
}

// page numbering links now

for ($i = 0; $i < $pages; $i++) {
$url = "$PHP_SELF?screen=" . $i;
$j = $i + 1;
echo " | <a href=\"$url\">$j</a> | ";
}

if ($screen < $pages-1) {
$j = $screen + 1;
$url = "$PHP_SELF?screen=$j";
echo "<a href=\"$url\">Next</a>";
}
?>

<? include('footer.php'); ?>


How can I make avatar's page style like Ivy's? T__T I am really bad at coding especially PHP >< and one more, the pagination.. why it comes to the next line too? Please, help me!
5  Web Development / Coding / Next Previous Navigation Problem Please Help Me T__T on: April 21, 2005, 05:15:31 AM
I know I am too stupid to use an advanced coding but I want to learn... Okay to the main problem is something error happened. Here is the link http://wag.carouselgarden.net/layouts.php?category=Table

the error is:

Code:

Parse error: parse error, unexpected T_VARIABLE in /home/carouse/public_html/wag/layouts.php on line 26


I don;t know why, but here's my entire coding in layouts.php

Code:


<? include('http://wag.carouselgarden.net/header.php'); ?>

<?php 
include &#40;'connection.php'&#41;; 
$query = "select * from `layouts` where category='$category' order by id desc"; 
$result= mysql_query&#40;$query, $connection&#41; or die 
&#40;"Could not execute query &#58; $query." . mysql_error&#40;&#41;&#41;; 
// Start  paging variables 
$screen = $_GET['screen'&#93;; 
$PHP_SELF = $_SERVER['PHP_SELF'&#93;; 
$rows_per_page=10;         // number of records per page 
$total_records=mysql_num_rows&#40;$result&#41;; 
$pages = ceil&#40;$total_records / $rows_per_page&#41;;        // calculate number of pages required 

if &#40;!isset&#40;$screen&#41;&#41; 
$screen=0; 
$start = $screen * $rows_per_page;        // determine start record 
$q .= "LIMIT $start, $rows_per_page"; 
$result= mysql_query&#40;$q&#41; or die 
&#40;"Could not execute query &#58; $q." . mysql_error&#40;&#41;&#41;; 
while &#40;$row=mysql_fetch_array&#40;$result&#41;&#41;
&#123; 
    
$id=$row["id"&#93;; 
    
$name=$row["name"&#93;; 
$date=$row["date"&#93;
    
$artist=$row["artist"&#93;; 
    
$artisturl=$row["artisturl"&#93;; 
    
$series=$row["series"&#93;; 
    
$category=$row["category"&#93;; 
    
$previewimage=$row["previewimage"&#93;; 
    
$download=$row["download"&#93;; 
    
$viewhtml=$row["viewhtml"&#93;; 
     
    
echo "
<table>
  <td valign=\"top\">
      <table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" class=\"borderz\">
        <tr>
          <td class=\"menutop\" align=\"center\">&nbsp;</td>
        </tr>
        <tr>
          <td class=\"menubody\">            <img src=\"$previewimage\" width=\"200\" height=\"150\" align=\"left\"><b>Title</b>&#58;$name<br>            
            <b>Date</b>$date <br>            <b>Designer</b>&#58;<a href=\"$artisturl\" target=\"_blank\">$artist</a><br>            
            <strong>Series</strong>&#58; $series<BR>
<strong>Category</strong>&#58; $category
            <p> <a href=\"$download\">Download</a> [&#93; <a href=\"$viewhtml\">Preview</a>[&#93;</td>
        </tr>
    </table></td>
  </tr>
</table><BR>"
;
&
#125; 
// create the dynamic links 
if &#40;$screen > 0&#41; &#123; 
$j = $screen - 1; 
$url = "$PHP_SELF?screen=$j"; 
echo 
"<a href=\"$url\">Prev</a>"; 
&
#125; 

// page numbering links now 

for &#40;$i = 0; $i < $pages; $i++&#41; &#123; 
$url = "$PHP_SELF?screen=" . $i; 
$j = $i + 1; 
echo 
" | <a href=\"$url\">$j</a> | "; 
&
#125; 

if &#40;$screen < $pages-1&#41; &#123; 
$j = $screen + 1; 
$url = "$PHP_SELF?screen=$j"; 
echo 
"<a href=\"$url\">Next</a>"; 


?>

<? include('http://wag.carouselgarden.net/footer.php'); ?>


Please someone help me.. Full credits to you!
6  Art Boards / Creative mediums / Div > generic> Splendour of Valentine Passion on: April 21, 2005, 01:22:29 AM
Owh thanks to you all ^^ really it doesn't work for mozilla Oo oh I should download mozilla I think..
7  Web Development / Coding / Next, Prevous navigation on: April 19, 2005, 11:06:05 PM
so lucky! I Need this too! ^^
8  Web Development / Coding / How to Display Counter [MySQL] on: April 16, 2005, 07:53:04 AM
Yeah I've tried before but that tutorial is still unclear to me. Snow didn't tell how to displaying the numbers. You know about the fastlclick right? We have to insert a javascript to display how many times the link has been clicked.

And now my question is "how can I display the counter?" is it the same as fastclick? I still don't understand much about mysql T__T please explain me T__T
9  Web Development / Coding / How to Display Counter [MySQL] on: April 10, 2005, 07:41:55 AM
I've tried over and over with any layout databsing tutorial but I can;t figure out how to DISPLAY how many times that file is downloaded

I have tried anything it says on this thread http://forum.bleedingsoul.org/viewtopic.php?t=348 I don't know if I am too stupid to understand... >o< please everyone, help me! T__T
10  Art Boards / Creative mediums / Div > generic> Splendour of Valentine Passion on: April 10, 2005, 05:10:12 AM
this is my latest div layout. Please everyone comment if you would like or download =D


here is the thumbnail:



Here to preview and here to download
11  Web Development / Coding / Hiding Your Directory on: April 10, 2005, 04:41:28 AM
simply add

Options -Indexes

in your htaccess file ^o^

http://wag.carouselgarden.net
12  Art Boards / Creative mediums / tutorial: Rainbowing Image on: February 23, 2005, 06:01:06 AM
Do you always see image with rainbow color and don't know how to do it? yes I have the steps... ^^

Click here.
13  General / General / Mobile Phones on: February 23, 2005, 06:00:00 AM
Mine is Nokia 3660 ^^
14  Art Boards / Creative mediums / Adobe Photoshopt Tutorial: Water Ripple on: February 23, 2005, 05:58:01 AM
This is a photoshopt tutorial making water ripple effect

Here's the thumbnail

Click in this URL to review.

Hope this is help  :D
15  Off-topic / Entertainment / Shaiya: Light and Darkness on: February 23, 2005, 05:52:03 AM
Do you know that the two pretty girl spread over graphic design sites? They all almost use this character for their graphic.

I heard about this is a korean game, is it an online or not? PS2 or PC?

Do you know anything about it?
Pages: [1] 2
  • 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...