You can use html , jquery to display your folder structure in a treeview format

For dynamic conntent you can use any scripting language like php or jsp

The html goes as follows

The Jquery plugin is at http://docs.jquery.com/Plugins/Treeview/treeview

<ul id="folder" class="filetree">
        <li><span class="folder">Folder 1</span>
            <ul>
                <li><span class="file">Item 1.1</span></li>
            </ul>
        </li>
        <li><span class="folder">Folder 2</span>
            <ul>
                <li><span class="folder">Subfolder 2.1</span>
                    <ul id="folder21">
                        <li><span class="file">File 2.1.1</span></li>
                        <li><span class="file">File 2.1.2</span></li>
                    </ul>
                </li>
                <li><span class="file">File 2.2</span></li>
            </ul>
        </li>
        <li class="closed"><span class="folder">Folder 3 (closed at start)</span>
            <ul>
                <li><span class="file">File 3.1</span></li>
            </ul>
        </li>
        <li><span class="file">File 4</span></li>
    </ul>

The Jquery

$(document).ready(function(){

    // first example
    $("#folder").treeview();

});
murtazamzk 26 Light Poster

I am creating a type of ecommerce site , when the customer buys the product a email should be sent to admin regarding the product and customer details , I dont want to integrate payment gateways

thanx every1

i am doing only bro

thanx amrita

its like naukri

murtazamzk 26 Light Poster

Hi all thanx in advance

I want to make a job portal like naukri.com in Php , I have tried many free CMS and scripts
but not got too much of it , please do help me with something its urgent.......

Thank you

means what type of encrypted doc

murtazamzk 26 Light Poster

This is a cool windows xp trick i found out by which you can hide your files under a picture.

Follow these steps -->

  1. First select the files you want to hide.

  2. Right-click the files and select "Add to archive" i.e compress the files to zip or rar.

  3. Place the compressed file and the picture in which files will e hidden in E:\ or D:\ or C:\ , this does'nt play any role but will be easier to find the files.

  4. Now go to Start->Run or simply press Win+R , type cmd ,this will open command prompt.

  5. Now go to the directory in which you placed the files in my case it is E: so i typed E:

  6. Now we are in E: drive so type the below code , here my file names are test.jpg and test1.zip

copy /b "test.jpg"+'test1.zip" new.jpg

Thats it you are done the above code has created a file with name new.jpg , when you double-click it the picture will open but when you right-click it and select open with -> winrar your hidden files will be seen

Copy is a DOS command which can copy , create , and append files.
The "+" is an operator which joins two files.
For more info just type "help copy" in command prompt.
Here we have created a picture but you can create any file just take care of file extensions.

murtazamzk 26 Light Poster

This is a cool trick with which you can hide your files inside a picture.

First select the files and compress them to zip or rar and place it in E: drive also place there the picture on which you want to hide the files.

Now go to command prompt and select E: drive by typing just E:

type this command

copy /b "file1.jpg"+"file2.zip" new.jpg

You are done when you double click the new file the picture will open
But when you right-click it and open it with winrar the hidden files will be shown

thankyou

Yup its in C only by mistake i posted in Cpp

murtazamzk 26 Light Poster

[CODE]#include

include
include
include
include

void main()
{
int gd=DETECT,gm;
int x=320,y=240,r=200,i,h,m,s,thetamin,thetasec;
struct time t;
char n[12][3]={"3","2","1","12","11","10","9","8","7","6","5","4"};
initgraph(&gd,&gm,"C:\tc\bgi");//ut the directory which containsegavga.bgi
circle(x,y,210);
setcolor(4);
settextstyle(4,0,5);
for(i=0;i<12;i++)
{
if(i!=3)
outtextxy(x+(r-14)cos(M_PI/6i)-10,y-(r-14)sin(M_PI/6i)-26,n[i]);
else
outtextxy(x+(r-14)cos(M_PI/6i)-20,y-(r-14)sin(M_PI/6i)-26,n[i]);
}
gettime(&t);
printf("The current time is: %2d:%02d:%02d.%02d",t.ti_hour, t.ti_min,
t.ti_sec, t.ti_hund);
while(!kbhit())
{
setcolor(5);
setfillstyle(1,5);
circle(x,y,10);
floodfill(x,y,5);
gettime(&t);
if(t.ti_min!=m)
{
setcolor(0);
line(x,y,x+(r-60)cos(thetamin(M_PI/180)),y-(r-60)sin(thetamin(M_PI/180
)));
circle(x+(r-80)cos(thetamin(M_PI/180)),y-(r-80)sin(thetamin(M_PI/180))
,10);
line(x,y,x+(r-110)cos(M_PI/6h-((m/2)(M_PI/180))),y-(r-110)sin(M_PI/6h
-((m/2)
(M_PI/180))));
circle(x+(r-130)cos(M_PI/6h-((m/2)(M_PI/180))),y-(r-130)sin(M_PI/6h-(
(m/2)
(M_PI/180))),10);
}
if(t.ti_hour>12)
t.ti_hour=t.ti_hour-12;
if(t.ti_hour<4)
h=abs(t.ti_hour-3);
else
h=15-t.ti_hour;
m=t.ti_min;
if(t.ti_min<=15)
thetamin=(15-t.ti_min)6;
else
thetamin=450-t.ti_min
6;
if(t.ti_sec<=15)
thetasec=(15-t.ti_sec)6;
else
thetasec=450-t.ti_sec
6;
setcolor(4);
line(x,y,x+(r-110)cos(M_PI/6h-((m/2)(M_PI/180))),y-(r-110)sin(M_PI/6h
-((m/2)
(M_PI/180))));
circle(x+(r-130)cos(M_PI/6h-((m/2)(M_PI/180))),y-(r-130)sin(M_PI/6h-(
(m/2)
(M_PI/180))),10);
line(x,y,x+(r-60)cos(thetamin(M_PI/180)),y-(r-60)sin(thetamin(M_PI/180
)));
circle(x+(r-80)cos(thetamin(M_PI/180)),y-(r-80)sin(thetamin(M_PI/180))
,10);
setcolor(15);
line(x,y,x+(r-70)cos(thetasec(M_PI/180)),y-(r-70)sin(thetasec(M_PI/180
)));
delay(1000);
setcolor(0);
line(x,y,x+(r-70)cos(thetasec(M_PI/180)),y-(r-70)sin(thetasec(M_PI/180
)));
}
}
[/CODE]

murtazamzk 26 Light Poster

[CODE]#include

include
include
include

void main()
{
clrscr();
while(!kbhit())
{
struct time t;
gettime(&t);
textcolor(random(15)) ;
gotoxy(23,3);
printf("%d:%d:%0d",t.ti_hour,t.ti_min,t.ti_sec);
sleep(1);
clrscr();
}
getch();

}[/CODE]

Narue commented: Post a code snippet if you want to show off your crappy code. The forum is for people who want help with problems. -5
Jason Giggs commented: Nice said narue +0

Shutdown syntax

shutdown [-i|-l|-s|-r|-a] [-f] [-m \computername] [-t xx] [-c "Text"] [-d[u][p]:xx:yy]

e.g:shutdown -s -c "Shutting down!" -t 3

murtazamzk 26 Light Poster

It is possible to disable the XP splash screen, which will slightly speed up the
overall boot process. Be aware that removing the splash screen will also cause you not
to see any boot-up messages that might come up (chkdsk, convert ... ), but if your system
runs without any problems then it should not matter.

[COLOR="Red"]· Edit boot.ini.

· Add " /noguiboot" right after "/fastdetect".
[/COLOR]
Upon restarting, the splash screen will be gone. It can be re-enabled by removing the
new switch.

murtazamzk 26 Light Poster

If your system hangs about 2 or 3 minutes at startup, where you can't access the Start
button or the Taskbar, it may be due to one specific service (Background Intelligent
Transfer) running in the background. Microsoft put out a patch for this but it didn't
work for me. Here's what you do:

[COLOR="Red"]· Click on Start/Run, type 'msconfig', then click 'OK'.

· Go to the 'Services' tab, find the 'Background Intelligent Transfer' service.

· Disable it, apply the changes & reboot[/COLOR]

murtazamzk 26 Light Poster

[CODE]

//change 1 to another value to alter the scroll speed. Greater is faster var speed=1 var currentpos=0,alt=1,curpos1=0,curpos2=-1 function initialize(){ startit() } function scrollwindow(){ if (document.all) temp=document.body.scrollTop else temp=window.pageYOffset if (alt==0) alt=1 else alt=0 if (alt==0) curpos1=temp else curpos2=temp if (curpos1!=curpos2){ if (document.all) currentpos=document.body.scrollTop+speed else currentpos=window.pageYOffset+speed window.scroll(0,currentpos) } else{ currentpos=0 window.scroll(0,currentpos) } } function startit(){ setInterval("scrollwindow()",10) } window.onload=initialize

CHECK

IT

OUT

THIS

TEXT

WILL

KEEP

ON

SCROLLING


[/CODE]

murtazamzk 26 Light Poster

[CODE]

function startEQ() { quake=5; parent.moveBy(0,quake); parent.moveBy(0,-quake); parent.moveBy(quake,0); parent.moveBy(-quake,0); timer=setTimeout("startEQ()",10); } function stopEQ() { clearTimeout(timer); }

DEMO IT HERE

[/CODE]

murtazamzk 26 Light Poster

hello friends an anyone help me whether one can create a tic-tac-toe game in C

murtazamzk 26 Light Poster

[CODE]Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim speech
speech = CreateObject("sapi.spvoice")
speech.speak(TextBox1.Text)
End Sub
End Class
[/CODE]

murtazamzk 26 Light Poster

[CODE]#include

include
include

void main()
{
int ch;
clrscr();
printf("\n\n~~~SHUTDOWN MENU~~~~~\n");
printf("1.Shutdown\n2.Restart\n3.Logoff\n4.Hibernate\n5.exit");
printf("\nEnter choice : ");
scanf("%d",&ch);
switch(ch)
{
case 1:system("shutdown -s");
break;
case 2:system("shutdown -r");
break;
case 3:system("shutdown -l");
break;
case 4:system("shutdown -h");
break;
case 5:exit(1);
break;
default:printf("Invalid choice");
}
getch();
}[/CODE]

murtazamzk 26 Light Poster

[B]

New Page 11 if (document.layers) document.captureEvents(Event.KEYPRESS) function backhome(e){ var targeturl="index.htm" if (document.layers){ if (e.which==104||e.which==72) window.location=targeturl } else if (document.all){ if (event.keyCode==104||event.keyCode==72) window.location=targeturl } } document.onkeypress=backhome

Hit The(H) key on your keyboard to send you to a home page that you configure!!


[/B]

Thanks all for the info i was not knowing and the program

murtazamzk 26 Light Poster

Hello guys this is an amazing programming that converts entered digit into word.nut i need your help i am only able to do it upto 99.

#include<stdio.h>
#include<conio.h>
void main()
{
  int n,m,j;
  clrscr();
  printf("Enter any number between 1 to 99 : ");
  scanf("%d",&n);
  printf("You entered ");
  if(n>0&&n<=10)
     goto one;
  else if (n>10&&n<20)
       {
      m=n%10;
      goto two;
       }
       else if(n>20&&n<100)
        {
           j=n/10;
           n=n%10;
           goto three;
        }
 two:
 switch(m)
{
 case 1:printf("eleven ");
        break;
 case 2:printf("twelve ");
        break;
 case 3:printf("thirteen ");
        break;
 case 4:printf("fourteen ");
        break;
 case 5:printf("fifteen ");
        break;
 case 6:printf("sixteen ");
        break;
 case 7:printf("seventeen ");
        break;
 case 8:printf("eighteen ");
        break;
 case 9:printf("nineteen ");
        break;
}
 three:
 switch(j)
{
 case 2:printf("twenty ");
        goto one;
 case 3:printf("thirty ");
        goto one;
 case 4:printf("fourty ");
        goto one;
 case 5:printf("fifty ");
        goto one;
 case 6:printf("sixty ");
        goto one;
 case 7:printf("seventy ");
        goto one;
 case 8:printf("eighty ");
        goto one;
 case 9:printf("ninety ");
        goto one;
}
 one:
 switch(n)
{
 case 1:printf("one ");
        break;
 case 2:printf("two ");
        break;
 case 3:printf("three ");
        break;
 case 4:printf("four ");
        break;
 case 5:printf("five ");
        break;
 case 6:printf("six ");
        break;
 case 7:printf("seven ");
        break;
 case 8:printf("eight ");
        break;
 case 9:printf("nine ");
        break;
 case 10:printf("ten ");
        break;
}
getch();
}
murtazamzk 26 Light Poster

Here is an amazing program to create a tic-tac-toe game in vb.net.First of all in design view place 9 buttons.Then apply the code below.

Public Class Form1
Dim test As Boolean
Dim c1 As Boolean

Private Sub b1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles b1.Click, b2.Click, b3.Click, b4.Click, b5.Click, b6.Click, b7.Click, b8.Click, b9.Click
    If (sender.text = "") Then
        test = Not test
        If (test = True) Then
            sender.text = "0"
        Else
            sender.text = "X"
        End If
    End If

    If (b1.Text = "X" And b2.Text = "X" And b3.Text = "X") Then
        MsgBox("player 2 won")
    End If
    If (b4.Text = "X" And b5.Text = "X" And b6.Text = "X") Then
        MsgBox("player 2 won")
    End If
    If (b7.Text = "X" And b8.Text = "X" And b9.Text = "X") Then
        MsgBox("player 2 won")
    End If
    If (b1.Text = "X" And b5.Text = "X" And b9.Text = "X") Then
        MsgBox("player 2 won")
    End If
    If (b3.Text = "X" And b5.Text = "X" And b7.Text = "X") Then
        MsgBox("player 2 won")
    End If
    If (b1.Text = "X" And b4.Text = "X" And b7.Text = "X") Then
        MsgBox("player 2 won")
    End If
    If (b2.Text = "X" And b5.Text = "X" And b8.Text = "X") Then
        MsgBox("player 2 won")
    End If
    If (b3.Text = "X" And b6.Text = "X" And b9.Text = "X") Then
        MsgBox("player 2 won")
    End If

    If (b1.Text = "0" And b2.Text = "0" And b3.Text = "0") Then
        MsgBox("player 1 won")
    End If
    If (b4.Text = "0" And b5.Text = "0" ...

Sorry

Very nice work sharagh.satya