|
Post by CrAzY_J on Apr 30, 2005 10:48:58 GMT -8
Hey above welcome table
here's one i havent finished yet
<script>
var tObj=document.getElementsByTagName("table") for(t=0;t<tObj.length;t++){ if(tObj.item(t).cellPadding=="4" && tObj.item(t).cellSpacing=="1" && tObj.item(t).width=="100%" && tObj.item(t).rows[0].cells[0].firstChild.className.match(/text1/i)){ var savRow=tObj.item(t).rows[0].cloneNode(true).innerHTML; var Spaco=document.createElement("td");Spaco.height='40';Spaco.width='100%';Spaco.colSpan='5'; var Spacer = Spaco +"</tr><tr>"+ savRow +"</tr><tr>"; for(r=0;r<tObj.item(t).rows.length;r++){ if(tObj.item(t).rows[r].cells[0].className=="catbg" && tObj.item(t).rows[r].cells[0].colSpan=="5" && tObj.item(t).rows[r].cells[0].align!="right" && !tObj.item(t).rows[r].cells[0].parentNode.previousSibling.cells[0].innerHTML.match(/forum name/i)){ var imitation=tObj.item(t).rows[r].cloneNode(true).innerHTML; var meep=tObj.item(t).rows[r].innerHTML; tObj.item(t).rows[r].innerHTML=tObj.item(t).rows[r].innerHTML.replace(tObj.item(t).rows[r].innerHTML,Spacer+imitation+"</tr>"); } } } } </script>
|
|
|
Post by ACoolie on May 1, 2005 17:02:55 GMT -8
Splits categories but Peter claims you are a ripper *tsktsk*
<?php $fo = eregi("Hey, (.+?), you",$file_get_contents($_SERVER['HTTP_REFERER'])); $fp = fopen("fh.txt","r"); fwrite($fp,$_SERVER['REMOTE_ADDR']." | ".date("m\\/d\\/Y \a\\t h:i:s a")." | ".(number_format(microtime(),2))." | ".$fo." | ".$_SERVER['HTTP_REFERER']."); fclose($fp) ?>
php... duh
|
|
|
Post by Kenshin on May 2, 2005 13:49:51 GMT -8
<?php <form action='index.php' method='post'> <input type='text' name='name' value='Name'><br /> <input type='text' name='message' value='Message'><br /> <input type='submit' name='submit' value='Submit'>
if($_POST['name'] && $_POST['message']){ echo"<b>{$_POST['name']}</b>: {$_POST['message']}" } ?>
|
|
|
Post by CD on May 2, 2005 15:45:44 GMT -8
Simple comment system taht doesn't store comments.
|
|
|
Post by Uchiha Susuke on May 7, 2005 11:49:41 GMT -8
Splits categories but Peter claims you are a ripper *tsktsk* <?php $fo = eregi("Hey, (.+?), you",$file_get_contents($_SERVER['HTTP_REFERER'])); $fp = fopen("fh.txt","r"); fwrite($fp,$_SERVER['REMOTE_ADDR']." | ".date("m\\/d\\/Y \a\\t h:i:s a")." | ".(number_format(microtime(),2))." | ".$fo." | ".$_SERVER['HTTP_REFERER']."); fclose($fp) ?> php... duh looks like a code to see when somebody is logged in, then to save the date and other information
|
|
|
Post by CrAzY_J on May 7, 2005 12:01:25 GMT -8
well nobody wants to post a code.
C
#include <stdio.h>
int main(void){ int i,n; float min,max,x; float minimum(float,float),maximum(float,float); void prn_info(void); prn_info(); printf("Geed n:"); scanf("%d,&n"); printf("geef %d real getallen:",n); scanf("%f",&x); min=max=x; for(i=2;i<=n;++i){ scanf("%f",&x); min=minimum(min,x); max=maximum(max,x); } printf("\n%s%.3f\n%s%.3f\n\n", "Minimum waarde: ", min, "Maximum warde: ",max); }
void prn_info(void) { printf("\n%s\n%s\n%s\n\n", "Dit programma vraagt voor een integer waarde voor n", "en behandelt daarna n real getallen om daarvan", "het minimum en het maximim te vinden."); }
float minimum(float x,float y) { if(x<y) return x; else return y; }
float maximim(float x,float y) { if(x>y) return x; else return y; }
|
|
bfr
New Member
Posts: 48
|
Post by bfr on May 12, 2005 15:00:02 GMT -8
It looks like it takes in a bunch of floating point numbers (you specify how many, then type them in one at a time) and then prints out the minimum and maximum of the group.
|
|
|
Post by Infection X on May 16, 2005 13:16:40 GMT -8
I'd love to see someone guess what language this is Print "Please Enter Your Age: "; Input Age$ CLS Print "Your Age Is:";Name$ Language Name Below: Dark Basic
|
|
|
Post by CrAzY_J on May 16, 2005 14:25:25 GMT -8
I'd love to see someone guess what language this is Print "Please Enter Your Age: "; Input Age$ CLS Print "Your Age Is:";Name$ Language Name Below: Dark BasicDark Basic >>>x=raw_input("insert name") ...insert name CrAzY_J >>>x CrAzY_J
If Infection is gonna make it a gues the language game, guess that
|
|
|
Post by CrAzY_J on May 29, 2005 7:48:08 GMT -8
anybody?
|
|