├── .DS_Store ├── Accessdenied.php ├── Loginsuccessful.php ├── README.md ├── ShowProfile.php ├── aboutus.html ├── aboutus.txt ├── account.php ├── addfriend.php ├── album.php ├── album ├── 6786.jpg ├── 678686789.jpg ├── 6864.jpg ├── 7686.jpg ├── 9098.jpg ├── BE TT.jpg ├── Thumbs.db └── Wikisource-logo.png ├── albumphoto.php ├── alconfirm.php ├── arts.php ├── ca.txt ├── changepw.php ├── changepw1.php ├── changeuname.php ├── chat.php ├── checkemail.php ├── checkusername.php ├── chirkut.php ├── comment.php ├── commentbook.php ├── commentshow.php ├── commerce.php ├── confirmchange.php ├── cs.txt ├── css ├── chat.css ├── ie.css ├── master.css ├── screen.css └── screen_ie.css ├── date.php ├── db.txt ├── delaccount.php ├── deletephoto.php ├── delphotos.php ├── delstatus.php ├── delvideo.php ├── do_confirm.php ├── editprofile.php ├── forgotpswd.php ├── friend.php ├── gmat.txt ├── gre.txt ├── icwa.txt ├── img ├── Thumbs.db ├── bg │ ├── .DS_Store │ ├── Thumbs.db │ ├── bg-screen.png │ └── image_add.png ├── controller │ ├── Thumbs.db │ ├── controller_next.png │ └── controller_prev.png └── corners │ ├── .DS_Store │ ├── Thumbs.db │ ├── bottom_left.png │ ├── bottom_right.png │ ├── corners.psd │ ├── top_left.png │ └── top_right.png ├── inc └── func.inc.php ├── inscomment.php ├── insert.txt ├── inspass.php ├── inspass2.php ├── inspass3.php ├── insscrap.php ├── insval.php ├── invalidSession.php ├── js ├── chat.js └── jquery.js ├── library.php ├── livesearch.php ├── login.php ├── login1.php ├── login2.php ├── logout.php ├── newpass.php ├── notices ├── academic-calendar2011-12-evensem.pdf ├── exam-notice2012.pdf └── free-notice.pdf ├── onlinetest.php ├── passchanged.php ├── passwrong.php ├── photo.php ├── photo ├── 8social-network.jpg ├── Thumbs.db ├── ad1.jpg ├── icon_doc.gif └── msg.jpg ├── photoalbum.php ├── photodisplay.php ├── photosubmit.php ├── profile ├── 0002_01.JPG ├── 0002_06.JPG ├── 0002_07.JPG ├── Thumbs.db └── dp.jpg ├── regform.php ├── reject.php ├── scrapbook.php ├── scrapshow.php ├── searchfriend.php ├── searchmail.php ├── searchnm.php ├── searchtest.php ├── searchunm.php ├── selectonlinetest.php ├── sendscrap.php ├── showpassword.php ├── showusername.php ├── status.php ├── style.css ├── technical.php ├── test.php ├── testresult.php ├── testtype.php ├── unfriend.php ├── upload_file.php ├── uploadmphoto.php ├── uploadphoto.php ├── use.php ├── use2.php ├── useupdate.php ├── valshow.php ├── vdconfirm.php ├── vdupload.php ├── video.php ├── video ├── 0.0000001.wmv ├── American Rajnikanth.dat.wmv ├── Flirting.wmv └── Thumbs.db ├── viewanalysis.php └── wrongans.php /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshalisingh/social-networking-website/925855d912e29c3c43c3247eb16dd7e44f229b3d/.DS_Store -------------------------------------------------------------------------------- /Accessdenied.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | Access Denied 4 | 5 | 6 | 7 | 8 | 9 |
10 |
11 |

Incorrect username or password. Please login again.

12 | 13 | -------------------------------------------------------------------------------- /Loginsuccessful.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | Home 4 | 5 | 6 | 7 | 10 | 11 | 12 | 13 | 17 | 18 | 19 | 28 | 30 | 31 | 32 | 33 | 53 | 54 | 55 | 60 | 61 |
Welcome 20 | 25 | 26 | ! 27 | New Updates 29 |
Status Update
56 |
                                                        57 |
58 |
59 |


               Recent News






                  Library

 
  62 | 63 | 64 | 116 | 117 | 162 | 163 |
65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | "; ?> 73 | 74 | 82 | "; 104 | } 105 | 106 | mysql_close($con); 107 | ?> 108 | 109 | 110 |
Upload new photo
Message
Online test
Friends
75 |
76 | 80 |
81 |
83 | Look at the bottom
of page to find
out current online
friends.
84 | 85 |

$row[friendname]   view profile

111 |
112 | 115 | 118 | 119 | 126 | 127 | $row[reqname]"; 145 | 146 | echo ""; 147 | 148 | } 149 | ?> 150 | 157 | 159 | 160 |
120 |
121 | 124 |
125 |
    Yes     No
151 |
152 | 155 |
156 |
158 | Search and Find new friends click here
161 |
164 | 165 |
166 | 167 | 201 | Chat With 202 | 203 | 204 | 209 | 210 | 211 |
212 | 213 | 214 | 215 | 216 | 217 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Social-Networking-Website 2 | This is my Bachelor's Degree Final Year Project : A Social Networking Website developed in PHP 3 | -------------------------------------------------------------------------------- /ShowProfile.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | Profile 4 | 5 | 6 | 7 | 10 | 11 | 12 | 13 | 17 | 18 | 19 | 112 | "; 120 | 121 | $con = mysql_connect("localhost","root",""); 122 | if (!$con) 123 | { 124 | die('Could not connect: ' . mysql_error()); 125 | } 126 | 127 | mysql_select_db("irkut", $con); 128 | $flag="false"; 129 | $temp="false"; 130 | 131 | 132 | $query = "SELECT username FROM friendreq ". 133 | "WHERE reqname = \"$username\" "; 134 | $result = mysql_query($query, $con); 135 | while($row = mysql_fetch_array($result)) 136 | { 137 | $username = $row[username]; 138 | if (strcasecmp($q_username,$username)==0) 139 | { 140 | $temp="true"; 141 | } 142 | } 143 | 144 | 145 | $query = "SELECT friendname FROM friends ". 146 | "WHERE username = \"$username\" "; 147 | 148 | $result = mysql_query($query, $con); 149 | while($row = mysql_fetch_array($result)) 150 | { 151 | $friendname = $row[friendname]; 152 | if (strcasecmp($q_username,$friendname)==0) 153 | { 154 | $flag="true"; 155 | } 156 | } 157 | 158 | if($temp=="true") 159 | { 160 | 161 | echo ""; 162 | echo ""; 163 | echo ""; 164 | } 165 | else 166 | { 167 | if(strcasecmp($q_username,$_SESSION['username'])==0) 168 | { 169 | echo ""; 170 | echo ""; 171 | } 172 | else 173 | { 174 | if (strcasecmp($q_username,$username)!=0 && $flag=="false") 175 | { 176 | echo ""; 177 | echo ""; 178 | echo ""; 179 | } 180 | else 181 | { 182 | echo ""; 183 | echo ""; 184 | } 185 | } 186 | } 187 | echo "
20 | 21 | 41 | 42 | 43 | 44 | "; 51 | } 52 | else 53 | { 54 | echo ""; 55 | } 56 | 57 | echo ""; 58 | echo ""; 59 | echo ""; 60 | echo ""; 61 | echo ""; 62 | 63 | echo ""; 64 | echo ""; 65 | echo ""; 103 | } 104 | 105 | mysql_close($con); 106 | ?> 107 | 108 | 109 | 110 |
Message
Send Message
Photos
Videos
Friends
"; 66 | ?> 67 |
68 | 71 |
72 | 73 |

$fname   $lname

111 |
113 | 114 | 115 |
Profile of $q_username Waiting friend confirmation
Edit Profile
Add as friendUnfriend


"; 188 | 189 | $con = mysql_connect("localhost","root",""); 190 | if (!$con) 191 | { 192 | die('Could not connect: ' . mysql_error()); 193 | } 194 | 195 | mysql_select_db("irkut", $con); 196 | 197 | $query = "SELECT * FROM validate ". 198 | "WHERE username = \"$q_username\" "; 199 | 200 | $result = mysql_query($query, $con); 201 | 202 | echo ''; 203 | 204 | 205 | echo "
Basic information
"; 206 | 207 | //echo "
"; 208 | echo ""; 209 | 210 | while($row = mysql_fetch_array($result)) 211 | { 212 | $username = $row['username']; 213 | $fname = $row['fname']; 214 | $lname = $row['lname']; 215 | $country =$row['country']; 216 | $city = $row['city']; 217 | $dd = $row['dd']; 218 | $mm = $row['mm']; 219 | $yy = $row['yy']; 220 | $gender = $row['gender']; 221 | $email = $row['email']; 222 | 223 | 224 | echo ""; 225 | echo ""; 226 | echo ""; 227 | echo ""; 228 | echo ""; 229 | echo ""; 230 | echo ""; 231 | } 232 | 233 | 234 | echo "
First Name:$fname
Last Name:$lname
Country:$country
City:$city
Date of Birth::$dd/$mm/$yy
I am::$gender
E-mail:$email


"; 235 | 236 | $query = "SELECT * FROM profile ". 237 | "WHERE username = \"$q_username\" "; 238 | 239 | $result = mysql_query($query, $con); 240 | 241 | echo ''; 242 | 243 | 244 | echo "
Educational information
"; 245 | 246 | //echo "
"; 247 | echo ""; 248 | 249 | while($row = mysql_fetch_array($result)) 250 | { 251 | $username = $row['username']; 252 | $school = $row['school']; 253 | $college = $row['college']; 254 | $gcoll =$row['gcoll']; 255 | $mobile = $row['mobile']; 256 | $status = $row['status']; 257 | $you = $row['you']; 258 | 259 | 260 | echo ""; 261 | echo ""; 262 | echo ""; 263 | 264 | echo "
School:$school
High School:$college
College:$gcoll


"; 265 | 266 | echo ''; 267 | 268 | 269 | echo "
Personal information
"; 270 | 271 | //echo "
"; 272 | echo ""; 273 | echo ""; 274 | echo ""; 275 | echo ""; 276 | echo "
Mobile No.:$mobile
Relationship Status:$status
About me:$you
"; 277 | } 278 | 279 | ?> 280 |







281 | 282 | 283 | 284 | 285 | 286 | 287 | 288 | -------------------------------------------------------------------------------- /aboutus.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

4 | Notice 5 | 6 | -------------------------------------------------------------------------------- /aboutus.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 |

4 | Notice 5 | 6 | -------------------------------------------------------------------------------- /account.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 108 | 109 | Profile 110 | 111 | 112 | 113 | 116 | 117 | 118 | 119 | 123 |
124 | 125 |
Account Setting
126 |

127 | 128 |
Change Username
129 |
130 |
131 | 132 | 133 |
134 | 135 |
Change Password
136 |
137 |
138 |

139 | 140 |
Delete Account
141 | 142 | -------------------------------------------------------------------------------- /addfriend.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 21 | 24 | 25 | -------------------------------------------------------------------------------- /album.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | Create album 4 | 5 | 6 |


Create Your Album


"; 10 | 11 | $q_username= $_GET['q_username']; 12 | $username= $_SESSION['username']; 13 | //echo $q_username; 14 | ?> 15 | 16 |
17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 32 | 33 | 34 | 36 | 37 |
   Album Name:


   Album description:


   Upload Photo: 30 | 31 |



  35 |
38 | 39 | 40 | -------------------------------------------------------------------------------- /album/6786.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshalisingh/social-networking-website/925855d912e29c3c43c3247eb16dd7e44f229b3d/album/6786.jpg -------------------------------------------------------------------------------- /album/678686789.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshalisingh/social-networking-website/925855d912e29c3c43c3247eb16dd7e44f229b3d/album/678686789.jpg -------------------------------------------------------------------------------- /album/6864.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshalisingh/social-networking-website/925855d912e29c3c43c3247eb16dd7e44f229b3d/album/6864.jpg -------------------------------------------------------------------------------- /album/7686.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshalisingh/social-networking-website/925855d912e29c3c43c3247eb16dd7e44f229b3d/album/7686.jpg -------------------------------------------------------------------------------- /album/9098.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshalisingh/social-networking-website/925855d912e29c3c43c3247eb16dd7e44f229b3d/album/9098.jpg -------------------------------------------------------------------------------- /album/BE TT.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshalisingh/social-networking-website/925855d912e29c3c43c3247eb16dd7e44f229b3d/album/BE TT.jpg -------------------------------------------------------------------------------- /album/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshalisingh/social-networking-website/925855d912e29c3c43c3247eb16dd7e44f229b3d/album/Thumbs.db -------------------------------------------------------------------------------- /album/Wikisource-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshalisingh/social-networking-website/925855d912e29c3c43c3247eb16dd7e44f229b3d/album/Wikisource-logo.png -------------------------------------------------------------------------------- /albumphoto.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | Photo Upload 4 | 5 | 6 | 11 | 18 | 19 | -------------------------------------------------------------------------------- /alconfirm.php: -------------------------------------------------------------------------------- 1 | 0) 10 | { 11 | echo "Return Code: " . $_FILES["file"]["error"] . "
"; 12 | } 13 | else 14 | { 15 | /* echo "Upload: " . $_FILES["file"]["name"] . "
"; 16 | echo "Type: " . $_FILES["file"]["type"] . "
"; 17 | echo "Size: " . ($_FILES["file"]["size"] / 1024) . " Kb
"; 18 | echo "Temp file: " . $_FILES["file"]["tmp_name"] . "
";*/ 19 | 20 | $con = mysql_connect("localhost","root",""); 21 | if (!$con) 22 | { 23 | die('Could not connect: ' . mysql_error()); 24 | } 25 | mysql_select_db("irkut", $con); 26 | 27 | $query = "SELECT count FROM alcounter "; 28 | 29 | $result = mysql_query($query, $con); 30 | while($row = mysql_fetch_array($result)) 31 | { 32 | $count = $row[count]; 33 | } 34 | 35 | $count=$count+1; 36 | 37 | $username = $_SESSION['username']; 38 | 39 | 40 | mysql_query("INSERT INTO album (aid, username, alname, alface, date, descripn) 41 | VALUES ('".$count."','".$username."','".$aname."','".$_FILES["file"]["name"]."','".$date."','".$dname."')"); 42 | $pcount=1; 43 | mysql_query("INSERT INTO photos (aid, pid, photoadd, date) 44 | VALUES ('".$count."','".$pcount."','".$_FILES["file"]["name"]."','".$date."')"); 45 | 46 | 47 | mysql_query("UPDATE alcounter SET count = '$count'"); 48 | mysql_close($con); 49 | 50 | if (file_exists("album/" . $_FILES["file"]["name"])) 51 | { 52 | echo $_FILES["file"]["name"] . " already exists. "; 53 | } 54 | else 55 | { 56 | move_uploaded_file($_FILES["file"]["tmp_name"], 57 | "album/" . $_FILES["file"]["name"]); 58 | //echo "Stored in: " . "album/" . $_FILES["file"]["name"]; 59 | 60 | } 61 | } 62 | header ("Location: photo.php?q_username=$username"); 63 | ?> -------------------------------------------------------------------------------- /arts.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | Online test 4 | 5 | 6 | 10 |
11 | 12 | 13 |
Welcome to StudentWorld Onlinetest

                             14 | These tests give you free training of competitive exams like History,MBA . 15 | You can test your knowledge from our vast question bank and get prepared to crack exams confidently and successfull. 16 | This will test your knowledge and intelligence on various technical and aptitude interview related topics to see how good you are and assesses your performance which helps you analyse your strong and week areas. 17 | Check out these quiz and tell your friends to take them too! 18 | 19 |


20 | 21 | 22 | 23 |
Select type of test !!
HISTORY
MBA
24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /ca.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshalisingh/social-networking-website/925855d912e29c3c43c3247eb16dd7e44f229b3d/ca.txt -------------------------------------------------------------------------------- /changepw.php: -------------------------------------------------------------------------------- 1 | 64 | 65 | -------------------------------------------------------------------------------- /changepw1.php: -------------------------------------------------------------------------------- 1 | 53 | 54 | -------------------------------------------------------------------------------- /changeuname.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chat.php: -------------------------------------------------------------------------------- 1 | $time) { 69 | if (!isset($_SESSION['tsChatBoxes'][$chatbox])) { 70 | $now = time()-strtotime($time); 71 | $time = date('g:iA M dS', strtotime($time)); 72 | 73 | $message = "Sent at $time"; 74 | if ($now > 180) { 75 | $items .= << 108 | { 109 | "items": [ 110 | 111 | ] 112 | } 113 | 114 | $void) { 133 | $items .= chatBoxSession($chatbox); 134 | } 135 | } 136 | 137 | 138 | if ($items != '') { 139 | $items = substr($items, 0, -1); 140 | } 141 | 142 | header('Content-type: application/json'); 143 | ?> 144 | { 145 | "username": "", 146 | "items": [ 147 | 148 | ] 149 | } 150 | 151 | ",$text); 200 | return $text; 201 | } -------------------------------------------------------------------------------- /checkemail.php: -------------------------------------------------------------------------------- 1 | query($query); 14 | $num = $result->num_rows; 15 | //echo $num; 16 | 17 | 18 | if($num==0) 19 | { 20 | echo 'Email id available.'; 21 | } 22 | else 23 | { 24 | echo 'email id not available.'; 25 | } 26 | ?> 27 | -------------------------------------------------------------------------------- /checkusername.php: -------------------------------------------------------------------------------- 1 | query($query); 14 | $num = $result->num_rows; 15 | //echo $num; 16 | 17 | 18 | if($num==0) 19 | { 20 | echo 'Username available.'; 21 | } 22 | else 23 | { 24 | echo 'Username not available.'; 25 | } 26 | ?> 27 | -------------------------------------------------------------------------------- /chirkut.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | StudentWorld - login 4 | 5 | 6 | 7 | 8 | 9 | 10 |
Welcome to StudentWorld
11 | 12 | 13 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 |
Wanna connect? 14 |

Sign in to your StudentWorld account

22 |
23 |

 Username:

24 |

  Password:

25 | 26 |

                    

27 | 28 | 29 |

Forgot password? 30 |

31 |

Connect with friends and family using message and increase your friends network by dicovering new people....
Start conversion Chat, comment and talk with each group of your friends for a conversation you control....

Become a member
JOIN NOW

42 |
Prepare yourself for competitive exams like CAT,GATE,GRE etc and start learning new thing by using online learning....
Many more
52 |
53 | 54 | 55 | 56 | 57 |
©2011 StudentWorld
58 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /comment.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 27 | 28 | -------------------------------------------------------------------------------- /commentbook.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 8 |
7 |
9 | 10 | 11 | 12 | Profile"; 34 | } 35 | ?> 36 | 37 | 38 | 39 | 40 |
HomeScrapbookCommentsLogout
41 |
42 |
43 | 44 | 45 | 47 |
46 | Comments by Chirkut Users
48 |
49 |
50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | "; 77 | } 78 | 79 | mysql_close($con); 80 | ?> 81 | 82 |
Comment byComments
$row[sent_from]$row[message]
83 | 84 |
85 |
86 | 87 |
Type in your Comment
88 |
89 |
90 | 91 |
92 | 93 | 94 | 95 | 96 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 |
Message :    97 |



                                      
106 |
107 | 108 | 109 | 110 | -------------------------------------------------------------------------------- /commentshow.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | "; 18 | } 19 | 20 | mysql_close($con); 21 | ?> 22 | 23 | -------------------------------------------------------------------------------- /commerce.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | Online test 4 | 5 | 6 | 10 |
11 | 12 | 13 |
Welcome to StudentWorld Onlinetest

                             14 | These tests give you free training of competitive exams like CPT,CS,ICWA and MBA. 15 | You can test your knowledge from our vast question bank and get prepared to crack exams confidently and successfull. 16 | This will test your knowledge and intelligence on various technical and aptitude interview related topics to see how good you are and assesses your performance which helps you analyse your strong and week areas. 17 | Check out these quiz and tell your friends to take them too! 18 | 19 |


20 | 21 | 22 | 23 | 24 | 25 |
Select type of test !!
CPT
CS
ICWA
MBA
26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /confirmchange.php: -------------------------------------------------------------------------------- 1 | 53 | -------------------------------------------------------------------------------- /cs.txt: -------------------------------------------------------------------------------- 1 | INSERT INTO `cs` (`qset`, `qno`, `question`, `option1`, `option2`, `option3`, `option4`, `result`, `analysis`) VALUES 2 | ('1', 1, 'What is legal terminology for the doing or not doing of something which the promisor desires to be done or not done?', 'desires', 'wishes', 'considerations', 'promise', 'b', ' '), 3 | 4 | ('1', 2, 'A stipulation which is collateral to the main purpose of the contract, and if proves false, gives the buyer only a right to claim damages, is known as', 'conditions', 'guarantee', 'warranty', 'none', 'b', ' '), 5 | 6 | ('1', 3, 'The Sale of Goods Act, 1930 deals with', 'sales', 'mortgage', 'pledge', 'all of above', 'b', ' '), 7 | 8 | ('1', 4, 'When the consent of a party is obtained by fraud, the contract is;', 'void', 'voidable', 'valid', 'illegal', 'b', ' '), 9 | 10 | ('1',5, 'The conditions and warranties may be in the form of', 'express', 'implied', 'either 1 or 2', 'none of above', 'b', ' '), 11 | 12 | ('1',6, 'Moral pressure is involved in the case of', 'coercion', 'undue influence', 'misrepresentation', 'fraud', 'b', ' '), 13 | 14 | ('1', 7, 'If a seller handed over the keys of a warehouse containing the goods to the buyer results in', 'constructive delivery', 'actual delivery', 'symbolic delivery', 'none', 'b', ' '), 15 | 16 | ('1', 8, 'The person who buys or agrees to buy goods is known as', 'consumer', 'buyer', 'both 1 and 2', 'none of above', 'b', ' '), 17 | 18 | ('1', 9, 'In an auction sale, if the seller makes use of pretended bidding to raise the price, then the sale is', 'valid', 'void', 'voidable', 'illegal', 'b', ' '), 19 | 20 | ('1', 10, 'Where in an auction sale, the seller appoints more than one bidder, the sale is', 'void', 'illegal', 'conditional', 'voidable', 'b', ' '), 21 | 22 | ('1', 11, 'What is legal terminology for the doing or not doing of something which the promisor desires to be done or not done?', 'desires', 'wishes', 'considerations', 'promise', 'b', ' '), 23 | 24 | ('1', 12, 'A stipulation which is collateral to the main purpose of the contract, and if proves false, gives the buyer only a right to claim damages, is known as', 'conditions', 'guarantee', 'warranty', 'none', 'b', ' '), 25 | 26 | ('1', 13, 'The Sale of Goods Act, 1930 deals with', 'sales', 'mortgage', 'pledge', 'all of above', 'b', ' '), 27 | 28 | ('1', 14, 'If a seller handed over the keys of a warehouse containing the goods to the buyer results in', 'constructive delivery', 'actual delivery', 'symbolic delivery', 'none', 'b', ' '), 29 | 30 | ('1', 15, 'An agreement which is enforceable by law at the option of one or more of the parties thereon but not at the option of the other or others is a', 'valid', 'void', 'voidable', 'illegal', 'b', ' '), 31 | 32 | ('1', 16, 'Which of the following elements does not affect the free consent of the parties', 'coercion', 'fraud', 'incompetency', 'undue influence', 'b', ' '), 33 | 34 | ('1', 17, 'When the consent of a party is obtained by fraud, the contract is;', 'void', 'voidable', 'valid', 'illegal', 'b', ' '), 35 | 36 | ('1', 18, 'Moral pressure is involved in the case of', 'coercion', 'undue influence', 'misrepresentation', 'fraud', 'b', ' '), 37 | 38 | ('1', 19, 'What is legal terminology for the doing or not doing of something which the promisor desires to be done or not done?', 'desires', 'wishes', 'considerations', 'promise', 'b', ' '), 39 | 40 | ('1', 20, 'A threatens to kill B if he does not agree to sell his scooter to him for Rs. 1000 only. Here Bs consent is obtained by', 'undue influence', 'fraud', 'coercion', 'none', 'b', ' '), 41 | 42 | ('1', 21, 'What is legal terminology for the doing or not doing of something which the promisor desires to be done or not done?', 'desires', 'wishes', 'considerations', 'promise', 'b', ' '), 43 | 44 | ('1', 22, 'The conditions and warranties may be in the form of', 'express', 'implied', 'either 1 or 2', 'none of above', 'b', ' '), 45 | 46 | ('1', 23, 'What is legal terminology for the doing or not doing of something which the promisor desires to be done or not done?', 'desires', 'wishes', 'considerations', 'promise', 'b', ' '), 47 | 48 | ('1', 24, 'What is legal terminology for the doing or not doing of something which the promisor desires to be done or not done?', 'desires', 'wishes', 'considerations', 'promise', 'b', ' '), 49 | 50 | ('1', 25, 'Which of the following elements does not affect the free consent of the parties', 'coercion', 'fraud', 'incompetency', 'undue influence', 'b', ' '); 51 | -------------------------------------------------------------------------------- /css/chat.css: -------------------------------------------------------------------------------- 1 | 2 | .chatbox { 3 | position: fixed; 4 | position:expression("absolute"); 5 | width: 225px; 6 | display:none; 7 | } 8 | 9 | .chatboxhead { 10 | background-color: #f99d39; 11 | padding:7px; 12 | color: #ffffff; 13 | 14 | border-right:1px solid #f99d39; 15 | border-left:1px solid #f99d39; 16 | } 17 | 18 | .chatboxblink { 19 | background-color: #176689; 20 | border-right:1px solid #176689; 21 | border-left:1px solid #176689; 22 | } 23 | 24 | .chatboxcontent { 25 | font-family: arial,sans-serif; 26 | font-size: 13px; 27 | color: #333333; 28 | height:200px; 29 | width:209px; 30 | overflow-y:auto; 31 | overflow-x:auto; 32 | padding:7px; 33 | border-left:1px solid #cccccc; 34 | border-right:1px solid #cccccc; 35 | border-bottom:1px solid #eeeeee; 36 | background-color: #ffffff; 37 | line-height: 1.3em; 38 | } 39 | 40 | .chatboxinput { 41 | padding: 5px; 42 | background-color: #ffffff; 43 | border-left:1px solid #cccccc; 44 | border-right:1px solid #cccccc; 45 | border-bottom:1px solid #cccccc; 46 | } 47 | 48 | .chatboxtextarea { 49 | width: 206px; 50 | height:44px; 51 | padding:3px 0pt 3px 3px; 52 | border: 1px solid #eeeeee; 53 | margin: 1px; 54 | overflow:hidden; 55 | } 56 | 57 | .chatboxtextareaselected { 58 | border: 2px solid #f99d39; 59 | margin:0; 60 | } 61 | 62 | .chatboxmessage { 63 | margin-left:1em; 64 | } 65 | 66 | .chatboxinfo { 67 | margin-left:-1em; 68 | color:#666666; 69 | 70 | } 71 | 72 | .chatboxmessagefrom { 73 | margin-left:-1em; 74 | font-weight: bold; 75 | } 76 | 77 | .chatboxmessagecontent { 78 | } 79 | 80 | .chatboxoptions { 81 | float: right; 82 | } 83 | 84 | .chatboxoptions a { 85 | text-decoration: none; 86 | color: white; 87 | font-weight:bold; 88 | font-family:Verdana,Arial,"Bitstream Vera Sans",sans-serif; 89 | } 90 | 91 | .chatboxtitle { 92 | float: left; 93 | } -------------------------------------------------------------------------------- /css/ie.css: -------------------------------------------------------------------------------- 1 | ul li, p, div#content, h1 { 2 | position:relative; 3 | background-image: none; 4 | background-color:#212121; 5 | } 6 | 7 | div.corners .left_top { 8 | background-image: none; 9 | filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=crop, src='/css-gallery/img/corners/top_left.png'); 10 | } 11 | 12 | div.corners .left_bottom { 13 | background-image: none; 14 | filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=crop, src='/css-gallery/img/corners/bottom_left.png'); 15 | } 16 | 17 | div.corners .right_top { 18 | background-image: none; 19 | filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=crop, src='/css-gallery/img/corners/top_right.png'); 20 | } 21 | 22 | div.corners .right_bottom { 23 | background-image: none; 24 | filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=crop, src='/css-gallery/img/corners/bottom_right.png'); 25 | } -------------------------------------------------------------------------------- /css/master.css: -------------------------------------------------------------------------------- 1 | /* 2 | ----------------------------------------------------------------------------- 3 | Made by Koa Metter (Iamkoa) - Nov 19, 2007 4 | For use with Vision CSS gallery 5 | -----------------------------------------------------------------------------*/ 6 | 7 | body { 8 | background-color:#263f57; 9 | text-align: center; 10 | font: 11px/1.5em Helvetica, Arial, Verdana, sans-serif; 11 | background-image:url('../img/bg/image_add.png'); 12 | color: #212121; 13 | letter-spacing:0px; 14 | padding:0; 15 | margin:0; 16 | } 17 | a:hover,a:active 18 | { 19 | background:inherit; 20 | } 21 | 22 | a.link { 23 | background-color:#fff; 24 | padding:2px; 25 | color:#212121; 26 | font-size:12px; 27 | } 28 | 29 | h1 { 30 | padding:0; 31 | font-size:28px; 32 | font-weight:bold; 33 | text-align:left; 34 | color:#fff; 35 | margin:0; 36 | margin-top:30px; 37 | background-image:url('../img/bg/bg-screen.png'); 38 | padding:20px; 39 | } 40 | 41 | ul { 42 | text-align:left; 43 | font-size:14px; 44 | letter-spacing:1.5px; 45 | list-style-type:none; 46 | } 47 | 48 | ul li, p { 49 | list-style-type:none; 50 | margin-top:10px; 51 | background-image:url('../img/bg/bg-screen.png'); 52 | padding:10px; 53 | color:#fff; 54 | } 55 | 56 | p { 57 | width:580px; 58 | font-size:14px; 59 | letter-spacing:1px; 60 | text-align:left; 61 | } 62 | 63 | div#inner { 64 | position:relative; 65 | margin:0 auto; 66 | text-align:center; 67 | width:600px; 68 | background-color:transparent; 69 | } 70 | 71 | div#content { 72 | position:relative; 73 | width:600px; 74 | margin-top:30px; 75 | background-color:transparent; 76 | } 77 | 78 | div#content { 79 | position:relative; 80 | overflow:hidden; 81 | } 82 | 83 | div#content img { 84 | position:relative; 85 | border:none; 86 | } 87 | 88 | * html div#content { 89 | float: left; 90 | } 91 | 92 | * html div.controls a { 93 | height: 10000px; 94 | background-position: center 150px; 95 | } 96 | 97 | div.controls a { 98 | text-indent: -5000px; 99 | overflow: hidden; 100 | outline: none; 101 | position: absolute; 102 | top: 0; 103 | width: 40%; 104 | height: 100%; 105 | background-position: center center; 106 | background-repeat: no-repeat; 107 | opacity: 0; 108 | filter: alpha(opacity=0); 109 | z-index:1; 110 | } 111 | 112 | div.controls a.previous { 113 | left: 0; 114 | background-image: url('../img/controller/controller_prev.png'); 115 | } 116 | 117 | div.controls a.next { 118 | right: 0; 119 | background-image: url('../img/controller/controller_next.png'); 120 | } 121 | 122 | div.controls a:hover { 123 | opacity: 0.40; 124 | filter: alpha(opacity=40); 125 | z-index:1; 126 | } 127 | 128 | div#content .details_bg { 129 | background-color:#000; 130 | opacity: 0.60; 131 | filter: alpha(opacity=60); 132 | height:50px; 133 | width:600px; 134 | bottom:10px; 135 | left:10px; 136 | position:absolute; 137 | z-index:2; 138 | } 139 | 140 | div#content #details { 141 | position:absolute; 142 | color:#fff; 143 | font: 36px/.9em Helvetica, Arial, Verdana, sans-serif; 144 | font-weight:bold; 145 | text-align:left; 146 | top:10px; 147 | z-index:1; 148 | left:0px; 149 | width:600px; 150 | z-index:3; 151 | text-align:center; 152 | } 153 | 154 | /* corners */ 155 | 156 | div.corners .left_top { 157 | position:absolute; 158 | background:url('../img/corners/top_left.png') no-repeat top left; 159 | width:7px; 160 | height:7px; 161 | overflow:hidden; 162 | top:10px; 163 | left:10px; 164 | z-index:20; 165 | } 166 | 167 | div.corners .right_top { 168 | position:absolute; 169 | background:url('../img/corners/top_right.png') no-repeat top right; 170 | width:7px; 171 | height:7px; 172 | overflow:hidden; 173 | top:10px; 174 | right:10px; 175 | z-index:20; 176 | } 177 | 178 | div.corners .right_bottom { 179 | position:absolute; 180 | background:url('../img/corners/bottom_right.png') no-repeat top right; 181 | width:7px; 182 | height:7px; 183 | overflow:hidden; 184 | bottom:10px; 185 | right:10px; 186 | z-index:20; 187 | } 188 | 189 | div.corners .left_bottom { 190 | position:absolute; 191 | background:url('../img/corners/bottom_left.png') no-repeat top right; 192 | width:7px; 193 | height:7px; 194 | overflow:hidden; 195 | bottom:10px; 196 | left:10px; 197 | z-index:20; 198 | } 199 | 200 | div#content { 201 | position:relative; 202 | background-image:url('../img/bg/bg-screen.png'); 203 | width:600px; 204 | height:400px; 205 | padding:10px; 206 | } -------------------------------------------------------------------------------- /css/screen.css: -------------------------------------------------------------------------------- 1 | @charset "utf-8"; 2 | 3 | 4 | #main_container { 5 | width:100%; 6 | background-color:#ffffff; /* DO NOT REMOVE THIS; or you'll have issue w/ the scrollbar, when the mouse pointer is on a white space */ 7 | overflow-x: hidden; 8 | overflow-y: scroll; 9 | height:100%; /* this will make sure that the height will extend at the bottom */ 10 | position:absolute; /* container div must be absolute, for our fixed bar to work */ 11 | } -------------------------------------------------------------------------------- /css/screen_ie.css: -------------------------------------------------------------------------------- 1 | @charset "utf-8"; 2 | 3 | #main_container { 4 | width:100%; /* make sure we'll use 100% of page's width */ 5 | background-color:#ffffff; /* DO NOT REMOVE THIS; or you'll have issue w/ the scrollbar, when the mouse pointer is on a white space */ 6 | overflow-x: hidden; 7 | overflow-y: scroll; 8 | } 9 | -------------------------------------------------------------------------------- /date.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /delaccount.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /deletephoto.php: -------------------------------------------------------------------------------- 1 | 20 | -------------------------------------------------------------------------------- /delphotos.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /delstatus.php: -------------------------------------------------------------------------------- 1 | 18 | -------------------------------------------------------------------------------- /delvideo.php: -------------------------------------------------------------------------------- 1 | 20 | -------------------------------------------------------------------------------- /do_confirm.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 25 | 28 | 29 | -------------------------------------------------------------------------------- /editprofile.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | Change Profile 4 | 29 | 30 | 31 | 32 | 36 | 37 | 38 | 117 |
39 | 40 | 60 | 61 | 62 | 63 | "; 70 | } 71 | else 72 | { 73 | echo ""; 74 | } 75 | 76 | echo ""; 77 | echo ""; 78 | echo ""; 79 | echo ""; 80 | echo ""; 81 | 82 | echo ""; 83 | echo ""; 84 | echo ""; 108 | } 109 | 110 | mysql_close($con); 111 | ?> 112 | 113 | 114 | 115 |
Message
Send Message
Photos
Videos
Friends
"; 85 | ?> 86 |
87 | 90 |
91 | 92 |

$row[fname] $row[lname]

116 |
118 | 119 | 120 |
Your Profile
"; 125 | 126 | 127 | $con = mysql_connect("localhost","root",""); 128 | if (!$con) 129 | { 130 | die('Could not connect: ' . mysql_error()); 131 | } 132 | 133 | mysql_select_db("irkut", $con); 134 | 135 | $query = "SELECT * FROM validate ". 136 | "WHERE username = \"$q_username\" "; 137 | 138 | $result = mysql_query($query, $con); 139 | 140 | echo '

'; 141 | 142 | 143 | echo "
Basic information

"; 144 | 145 | //echo "
"; 146 | echo ""; 147 | 148 | while($row = mysql_fetch_array($result)) 149 | { 150 | $username = $row['username']; 151 | $fname = $row['fname']; 152 | $lname = $row['lname']; 153 | $country =$row['country']; 154 | $city = $row['city']; 155 | $dd = $row['dd']; 156 | $mm = $row['mm']; 157 | $yy = $row['yy']; 158 | $gender = $row['gender']; 159 | $email = $row['email']; 160 | 161 | } 162 | 163 | ?> 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 176 | 177 | 178 | 179 | 180 | 184 | 185 | 186 | 187 | 188 | 253 | 254 | 255 | 256 | 257 | 258 | 259 | 260 | 261 | 262 | 263 | 264 | 265 | "; 268 | echo '

   First Name:


   Last Name:


   Your e-mail: 175 |


   I am: 181 | Male 182 | Female 183 |


   Birthday: Day : 189 | 209 | 210 |    Month : 211 | 231 | 232 |    Year : 233 |


   Country:


   City:
'; 269 | 270 | $query = "SELECT * FROM profile ". 271 | "WHERE username = \"$username\" "; 272 | 273 | $result = mysql_query($query, $con); 274 | 275 | while($row = mysql_fetch_array($result)) 276 | { 277 | $username = $row['username']; 278 | $school = $row['school']; 279 | $college = $row['college']; 280 | $gcoll =$row['gcoll']; 281 | $mobile = $row['mobile']; 282 | $status = $row['status']; 283 | $you = $row['you']; 284 | } 285 | mysql_close($con); 286 | 287 | echo "
Educational information

"; 288 | 289 | ?> 290 | 291 | 292 | 293 | 294 | 295 | 296 | 297 | 298 | 299 | 300 | 301 | 302 | 303 | 304 | 305 | 306 | 307 |
   Grad School:


   High school:


   College:


308 |
309 | 310 |
Personal information

311 | 312 | 313 | 314 | 315 | 316 | 317 | 318 | 319 | 320 | 321 | 322 | 323 | 324 | 325 | 326 | 327 | 328 | 329 | 330 | 331 | 332 | 333 | 335 |
   Mobile No.:


   Relationship status:


   About You:





334 |
336 | 337 |







338 | 339 | 340 | 341 | 342 | 343 | -------------------------------------------------------------------------------- /forgotpswd.php: -------------------------------------------------------------------------------- 1 | 2 | Password-recovery 3 | 4 | 5 |
6 | 7 |


Oops Forgot Password !! get back here
"; 10 | 11 | ?> 12 | 13 |
14 |
15 |    16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 |
   Enter Username:

OR


   Enter email-id:


27 |
28 |
29 |                          30 | 31 |
32 | 33 | -------------------------------------------------------------------------------- /friend.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | Friends 4 | 5 | 6 | 10 | 11 | 12 | 105 | "; 107 | echo " 148 | 149 |
13 | 14 | 34 | 35 | 36 | 37 | "; 44 | } 45 | else 46 | { 47 | echo ""; 48 | } 49 | 50 | echo ""; 51 | echo ""; 52 | echo ""; 53 | echo ""; 54 | echo ""; 55 | 56 | echo ""; 57 | echo ""; 58 | echo ""; 96 | } 97 | 98 | mysql_close($con); 99 | ?> 100 | 101 | 102 | 103 |
Message
Send Message
Photos
Videos
Friends
"; 59 | ?> 60 |
61 | 64 |
65 | 66 |

$fname   $lname

104 |
"; 108 | echo ""; 112 | } 113 | echo "
$q_username > Friends "; 109 | if($username==$q_username) 110 | { 111 | echo "Search new friends
"; 114 | $con = mysql_connect("localhost","root",""); 115 | if (!$con) 116 | { 117 | die('Could not connect: ' . mysql_error()); 118 | } 119 | 120 | mysql_select_db("irkut", $con); 121 | $query = "SELECT friendname FROM friends ". 122 | "WHERE username = \"$q_username\" "; 123 | 124 | $result = mysql_query($query, $con); 125 | echo "
"; 126 | while($row = mysql_fetch_array($result)) 127 | { 128 | $picadd=""; 129 | $frname=$row[friendname]; 130 | 131 | $query1 = "SELECT picadd FROM profilepic ". 132 | "WHERE username = \"$frname\" "; 133 | 134 | $result1 = mysql_query($query1, $con); 135 | 136 | while($row1 = mysql_fetch_array($result1)) 137 | { 138 | $picadd=$row1[picadd]; 139 | } 140 | echo ""; 141 | 142 | } 143 | 144 | 145 | ?> 146 |
$frname
147 |
150 | 151 | 152 | -------------------------------------------------------------------------------- /gmat.txt: -------------------------------------------------------------------------------- 1 | INSERT INTO `gmat` (`qset`, `qno`, `question`, `option1`, `option2`, `option3`, `option4`, `result`, `analysis`) VALUES 2 | ('1', 1, 'If 1/x = 3.5. then 1/(x+2) = ', '16/7', '7/4', '7/16', '4/7', 'b', ' '), 3 | 4 | ('1', 2, 'Paul is 15 years younger then Ken. In 5 years Ken will be twice as old as Paul. How old will Paul be in four years? ', '12', '16', '18', '14', 'b', ' '), 5 | 6 | ('1', 3, 'If Linda can type a page in x minutes, what piece of the page can she type in 12 minutes? ', '12+x', '12/x', '1-x+12', 'x/12', 'b', ' '), 7 | 8 | ('1', 4, 'Sales girl of a hand bag retail store receive an additional 20% off of the lowest price on an item. If a sales girl purchases a hand bag during a 15% off sale, how much will she pay if the hand bag originally cost $450?', '308', '306', '280', '406.8', 'b', ' '), 9 | 10 | ('1', 5, 'The sales price of a car is $12,590, which is 20% off the original price. What is the original price? ', '16935.80', '15,737.50', '14,935.80', '15,035.20', 'b', ' '), 11 | 12 | ('1', 6, 'If r = 5 z then 15 z = 3 y, then r =', '5y', '10y', 'y', '3y', 'b', ' '), 13 | 14 | ('1', 7, 'You need to purchase a textbook for nursing school. The book cost $80.00, and the sales tax where you are purchasing the book is 8.25%. You have $100. How much change will you receive back? ', '21.25', '16.25', '13.40', '8.25', 'b', ' '), 15 | 16 | ('1', 8, 'Bradly arrived at work at 8:15 A.M. and left work at 10: 30 P.M. If Bradly gets paid by the hour at a rate of $10 and time and 1/2 for any hours worked over 8 in a day. How much did Bradly get paid? ', '192.10', '172.50', '92.20', '173.75 ', 'b', ' '), 17 | 18 | ('1', 8, 'Tayota, Acura, and Cadillac SUVs were used for SUV racing contest in a ratio of 5 to 7 to 8. If a total of 120 SUVs were used, how many Acura SUVs were used at the contest? ', '30', '36', '42', '46', 'b', ' '), 19 | 20 | ('1', 9, 'A sink contains exactly 12 liters of water. If water is drained from the sink until it holds exactly 6 liters of water less than the quantity drained away, how many liters of water were drained away? ', '12', '9', '18', '4.5', 'b', ' '), 21 | 22 | ('1', 10, 'If 8x + 5x + 2x + 4x = 114, the 5x + 3 = ', '33', '10', '26', '14', 'b', ' '), 23 | 24 | ('1', 11, 'You purchase a car making a down payment of $3,000 and 6 monthly payments of $225. How much have you paid so far for the car? ', '4000', '4160', '4350', '3200', 'b', ' '), 25 | 26 | ('1', 12, 'In a certain game, each player scores either 2 points or 5 points. If n players score 2 points and m players score 5 points. and the total number of points scored is 50, what is the least possible positive difference between n and m? ', '5', '3', '7', '2', 'b', ' '), 27 | 28 | ('1', 13, 'There are 12 more apples than oranges in a basket of 36 apples and oranges. How many apples are in the basket? ', '24', '36', '48', '12', 'b', ' '), 29 | 30 | ('1', 14, 'Three years back the age of a father was 24 years more than his son. At present the father is 5 times as old as the son. How old will the son be three years from now? ', '12', '9', '18', '14', 'b', ' '), 31 | 32 | ('1', 15, 'For what values of k will the pair of equations 3x + 4y = 12 and kx + 12y = 30 not have a unique solution? ', '9', '12', '18', '14', 'b', ' '), 33 | 34 | ('1', 16, 'If the cost price of 20 articles is equal to the selling price of 25 articles, what is the % profit or loss made by the merchant? ', '25%', '20%', '10%', '15%', 'b', ' '), 35 | 36 | ('1', 17, 'What is the remainder when 1044 * 1047 * 1050 * 1053 is divided by 33? ', '20', '30', '36', '40', 'b', ' '), 37 | 38 | ('1', 18, 'Rick invested a certain sum of money at 8% per.annum. simple interest for n years. At the end of n years, Rick got back 4 times his original investment. What is the value of n? ', '42', '37', '36', '38', 'b', ' '), 39 | 40 | ('1', 19, 'Vertices of a quadrilateral ABCD are A(0, 0), B(4, 5), C(9, 9) and D(5, 4). What is the shape of the quadrilateral', 'kite', 'square', 'rhombus', 'parallelogram', 'b', ' '), 41 | 42 | ('1', 20, 'There are 8 ounces in a 1/2 pound. How many ounces are in 7 3/4 lbs? ', '160', '124', '88', '68', 'b', ' '), 43 | 44 | ('1', 21, 'How many trailing zeros will be there after the rightmost non-zero digit in the value of 25!? ', '6', '25', '5', '4', 'b', ' '), 45 | 46 | ('1', 22, 'You need 4/5 cups of water for a recipe. You accidentally put 1/3 cups into the mixing bowl with the dry ingredients. How much more water in cups do you need to add? ', '15/7', '2/3', '1/3', '7/15', 'b', ' '), 47 | 48 | ('1', 23, 'The largest number amongst the following that will perfectly divide 101100 - 1 is', '100', '10,000', '100100', '100,000', 'b', ' '), 49 | 50 | ('1', 24, 'During a 5-day festival, the number of visitors tripled each day. If the festival opened on a Thursday with 345 visitors, what was the attendance on that Sunday? ', '1725', '1600', '9315', '9500', 'b', ' '), 51 | 52 | ('1', 25, 'The largest number amongst the following that will perfectly divide 101100 - 1 is', '100', '10,000', '100100', '100,000', 'b', ' '); 53 | 54 | 55 | 56 | -------------------------------------------------------------------------------- /gre.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshalisingh/social-networking-website/925855d912e29c3c43c3247eb16dd7e44f229b3d/gre.txt -------------------------------------------------------------------------------- /icwa.txt: -------------------------------------------------------------------------------- 1 | INSERT INTO `icwa` (`qset`, `qno`, `question`, `option1`, `option2`, `option3`, `option4`, `result`, `analysis`) VALUES 2 | ('1', 1, 'Demand is affected by', 'rachet effect', 'demonstration effect', 'both a and b', 'none', 'b', ' '), 3 | 4 | ('1', 2, 'Which of the following cost curve is nerver U-shaped?', 'avg cost curve', 'marginal cost curve', 'avg variable cost curve', 'avg fixed cost curve', 'b', ' '), 5 | 6 | ('1', 3, 'AVC is given by', 'w/MP', 'w/AP', 'w/TC', 'w/ab', 'b', ' '), 7 | 8 | ('1', 4, 'Marginal Cost is closely associated with.', 'variable cost', 'total cost', 'avg cost', 'fixed cost', 'b', ' '), 9 | 10 | ('1', 5, 'Increase or decrease in quantity demanded is based on', 'changes in income', 'only price changes', 'changes in tastes', 'none', 'b', ' '), 11 | 12 | ('1', 6, 'The price elasticity is infinity, slope of demand curve is', 'zero', 'one', 'infinite', 'more than zero', 'b', ' '), 13 | 14 | ('1', 7, 'The largest number amongst the following that will perfectly divide 101100 - 1 is', '100', '10,000', '100100', '100,000', 'b', ' '), 15 | 16 | ('1', 8, 'The price elasticity is infinite, the demand curve is', 'downward sloping', 'vertical', 'horizontal', 'none', 'b', ' '), 17 | 18 | ('1', 9, 'With P as Rs. 7, only 7 pencils are purchased. But as p falls to Rs.6, 8pencils were purchased. Then the price elasticity value is', 'one', 'less than one', 'greater than one', 'zero', 'b', ' '), 19 | 20 | ('1', 10, 'Population explosion takes place in _____stage', 'first', 'second', 'third', 'fourth', 'b', ' '), 21 | 22 | ('1', 11, 'An unregistered firm cannot claim:', 'set on', 'set off', 'both 1 and 2', 'none', 'b', ' '), 23 | 24 | ('1', 12, 'For the purposes of entering into a contract, a minor is a person who has not completed the age of', '16yrs', '18yrs', '20yrs', '21yrs', 'b', ' '), 25 | 26 | ('1', 13, 'With P as Rs. 7, only 7 pencils are purchased. But as p falls to Rs.6, 8pencils were purchased. Then the price elasticity value is', 'one', 'less than one', 'greater than one', 'zero', 'b', ' '), 27 | 28 | ('1', 14, 'Demand is affected by', 'rachet effect', 'demonstration effect', 'both a and b', 'none', 'b', ' '), 29 | 30 | ('1', 15, 'AVC is given by', 'w/MP', 'w/AP', 'w/TC', 'w/ab', 'b', ' '), 31 | 32 | ('1', 16, 'The consideration or object of an agreement is considered unlawful, if it is', 'forbiden by law', 'fraudulent', 'immoral', 'all of these', 'b', ' '), 33 | 34 | ('1', 17, 'A agrees to pay Rs. 50,000 to B if he kills C. The agreement is', 'void', 'valid', 'voidable', 'contingent', 'b', ' '), 35 | 36 | ('1', 18, 'An agreement in restraint of marriage is valid in case of following persons.', 'minors', 'educated', 'married', 'none', 'b', ' '), 37 | 38 | ('1', 19, 'An offer may lapse by:', 'revocation', 'counter offer', 'rejection of offer by offeree', 'all of these', 'b', ' '), 39 | 40 | ('1', 20,'The largest number amongst the following that will perfectly divide 101100 - 1 is', '100', '10,000', '100100', '100,000', 'b', ' '), 41 | 42 | ('1', 21, 'Population explosion takes place in _____stage', 'first', 'second', 'third', 'fourth', 'b', ' '), 43 | 44 | ('1', 22, 'The price elasticity is infinite, the demand curve is', 'downward sloping', 'vertical', 'horizontal', 'none', 'b', ' '), 45 | 46 | ('1', 23, 'An unregistered firm cannot claim:', 'set on', 'set off', 'both 1 and 2', 'none', 'b', ' '), 47 | 48 | ('1', 24, 'The largest number amongst the following that will perfectly divide 101100 - 1 is', '100', '10,000', '100100', '100,000', 'b', ' '), 49 | 50 | ('1', 25, 'The largest number amongst the following that will perfectly divide 101100 - 1 is', '100', '10,000', '100100', '100,000', 'b', ' '); 51 | 52 | -------------------------------------------------------------------------------- /img/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshalisingh/social-networking-website/925855d912e29c3c43c3247eb16dd7e44f229b3d/img/Thumbs.db -------------------------------------------------------------------------------- /img/bg/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshalisingh/social-networking-website/925855d912e29c3c43c3247eb16dd7e44f229b3d/img/bg/.DS_Store -------------------------------------------------------------------------------- /img/bg/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshalisingh/social-networking-website/925855d912e29c3c43c3247eb16dd7e44f229b3d/img/bg/Thumbs.db -------------------------------------------------------------------------------- /img/bg/bg-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshalisingh/social-networking-website/925855d912e29c3c43c3247eb16dd7e44f229b3d/img/bg/bg-screen.png -------------------------------------------------------------------------------- /img/bg/image_add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshalisingh/social-networking-website/925855d912e29c3c43c3247eb16dd7e44f229b3d/img/bg/image_add.png -------------------------------------------------------------------------------- /img/controller/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshalisingh/social-networking-website/925855d912e29c3c43c3247eb16dd7e44f229b3d/img/controller/Thumbs.db -------------------------------------------------------------------------------- /img/controller/controller_next.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshalisingh/social-networking-website/925855d912e29c3c43c3247eb16dd7e44f229b3d/img/controller/controller_next.png -------------------------------------------------------------------------------- /img/controller/controller_prev.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshalisingh/social-networking-website/925855d912e29c3c43c3247eb16dd7e44f229b3d/img/controller/controller_prev.png -------------------------------------------------------------------------------- /img/corners/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshalisingh/social-networking-website/925855d912e29c3c43c3247eb16dd7e44f229b3d/img/corners/.DS_Store -------------------------------------------------------------------------------- /img/corners/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshalisingh/social-networking-website/925855d912e29c3c43c3247eb16dd7e44f229b3d/img/corners/Thumbs.db -------------------------------------------------------------------------------- /img/corners/bottom_left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshalisingh/social-networking-website/925855d912e29c3c43c3247eb16dd7e44f229b3d/img/corners/bottom_left.png -------------------------------------------------------------------------------- /img/corners/bottom_right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshalisingh/social-networking-website/925855d912e29c3c43c3247eb16dd7e44f229b3d/img/corners/bottom_right.png -------------------------------------------------------------------------------- /img/corners/corners.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshalisingh/social-networking-website/925855d912e29c3c43c3247eb16dd7e44f229b3d/img/corners/corners.psd -------------------------------------------------------------------------------- /img/corners/top_left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshalisingh/social-networking-website/925855d912e29c3c43c3247eb16dd7e44f229b3d/img/corners/top_left.png -------------------------------------------------------------------------------- /img/corners/top_right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshalisingh/social-networking-website/925855d912e29c3c43c3247eb16dd7e44f229b3d/img/corners/top_right.png -------------------------------------------------------------------------------- /inc/func.inc.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /inscomment.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 26 | 27 | -------------------------------------------------------------------------------- /insert.txt: -------------------------------------------------------------------------------- 1 | 2 | insert into test values('cpt'); 3 | insert into test values('icwa'); 4 | insert into test values('cs'); 5 | insert into test values('history'); 6 | insert into test values('cat'); 7 | insert into test values('gre'); 8 | insert into test values('gate'); 9 | insert into test values('c++'); 10 | insert into test values('java'); 11 | insert into test values('gmat'); 12 | -------------------------------------------------------------------------------- /inspass.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | Security Question 4 | 5 | 6 |
7 | 8 |


Answer the security Question !!
"; 15 | 16 | ?> 17 | 18 |
19 |
20 |    21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 |
   What is name of your favourite place?

OR


   Who is your favourite sport person?


35 |
36 |
37 |                          38 | 39 |
40 | 41 | -------------------------------------------------------------------------------- /inspass2.php: -------------------------------------------------------------------------------- 1 | 46 | -------------------------------------------------------------------------------- /inspass3.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /insscrap.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 30 | ?> 31 | 32 | -------------------------------------------------------------------------------- /insval.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 |
7 |
8 |

9 | 10 | here"; 55 | 56 | 57 | mysql_close($con) 58 | ?> 59 | 60 | -------------------------------------------------------------------------------- /invalidSession.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 8 |
7 |
9 |

You have logged out or the session has timed out. Please login again.

10 | 11 | -------------------------------------------------------------------------------- /js/chat.js: -------------------------------------------------------------------------------- 1 | 2 | var windowFocus = true; 3 | var username; 4 | var chatHeartbeatCount = 0; 5 | var minChatHeartbeat = 1000; 6 | var maxChatHeartbeat = 33000; 7 | var chatHeartbeatTime = minChatHeartbeat; 8 | var originalTitle; 9 | var blinkOrder = 0; 10 | 11 | var chatboxFocus = new Array(); 12 | var newMessages = new Array(); 13 | var newMessagesWin = new Array(); 14 | var chatBoxes = new Array(); 15 | 16 | $(document).ready(function(){ 17 | originalTitle = document.title; 18 | startChatSession(); 19 | 20 | $([window, document]).blur(function(){ 21 | windowFocus = false; 22 | }).focus(function(){ 23 | windowFocus = true; 24 | document.title = originalTitle; 25 | }); 26 | }); 27 | 28 | function restructureChatBoxes() { 29 | align = 0; 30 | for (x in chatBoxes) { 31 | chatboxtitle = chatBoxes[x]; 32 | 33 | if ($("#chatbox_"+chatboxtitle).css('display') != 'none') { 34 | if (align == 0) { 35 | $("#chatbox_"+chatboxtitle).css('right', '20px'); 36 | } else { 37 | width = (align)*(225+7)+20; 38 | $("#chatbox_"+chatboxtitle).css('right', width+'px'); 39 | } 40 | align++; 41 | } 42 | } 43 | } 44 | 45 | function chatWith(chatuser) { 46 | createChatBox(chatuser); 47 | $("#chatbox_"+chatuser+" .chatboxtextarea").focus(); 48 | } 49 | 50 | function createChatBox(chatboxtitle,minimizeChatBox) { 51 | if ($("#chatbox_"+chatboxtitle).length > 0) { 52 | if ($("#chatbox_"+chatboxtitle).css('display') == 'none') { 53 | $("#chatbox_"+chatboxtitle).css('display','block'); 54 | restructureChatBoxes(); 55 | } 56 | $("#chatbox_"+chatboxtitle+" .chatboxtextarea").focus(); 57 | return; 58 | } 59 | 60 | $("
" ).attr("id","chatbox_"+chatboxtitle) 61 | .addClass("chatbox") 62 | .html('
'+chatboxtitle+'

') 63 | .appendTo($( "body" )); 64 | 65 | $("#chatbox_"+chatboxtitle).css('bottom', '0px'); 66 | 67 | chatBoxeslength = 0; 68 | 69 | for (x in chatBoxes) { 70 | if ($("#chatbox_"+chatBoxes[x]).css('display') != 'none') { 71 | chatBoxeslength++; 72 | } 73 | } 74 | 75 | if (chatBoxeslength == 0) { 76 | $("#chatbox_"+chatboxtitle).css('right', '20px'); 77 | } else { 78 | width = (chatBoxeslength)*(225+7)+20; 79 | $("#chatbox_"+chatboxtitle).css('right', width+'px'); 80 | } 81 | 82 | chatBoxes.push(chatboxtitle); 83 | 84 | if (minimizeChatBox == 1) { 85 | minimizedChatBoxes = new Array(); 86 | 87 | if ($.cookie('chatbox_minimized')) { 88 | minimizedChatBoxes = $.cookie('chatbox_minimized').split(/\|/); 89 | } 90 | minimize = 0; 91 | for (j=0;j= blinkOrder) { 137 | document.title = x+' says...'; 138 | titleChanged = 1; 139 | break; 140 | } 141 | } 142 | } 143 | 144 | if (titleChanged == 0) { 145 | document.title = originalTitle; 146 | blinkOrder = 0; 147 | } else { 148 | ++blinkOrder; 149 | } 150 | 151 | } else { 152 | for (x in newMessagesWin) { 153 | newMessagesWin[x] = false; 154 | } 155 | } 156 | 157 | for (x in newMessages) { 158 | if (newMessages[x] == true) { 159 | if (chatboxFocus[x] == false) { 160 | //FIXME: add toggle all or none policy, otherwise it looks funny 161 | $('#chatbox_'+x+' .chatboxhead').toggleClass('chatboxblink'); 162 | } 163 | } 164 | } 165 | 166 | $.ajax({ 167 | url: "chat.php?action=chatheartbeat", 168 | cache: false, 169 | dataType: "json", 170 | success: function(data) { 171 | 172 | $.each(data.items, function(i,item){ 173 | if (item) { // fix strange ie bug 174 | 175 | chatboxtitle = item.f; 176 | 177 | if ($("#chatbox_"+chatboxtitle).length <= 0) { 178 | createChatBox(chatboxtitle); 179 | } 180 | if ($("#chatbox_"+chatboxtitle).css('display') == 'none') { 181 | $("#chatbox_"+chatboxtitle).css('display','block'); 182 | restructureChatBoxes(); 183 | } 184 | 185 | if (item.s == 1) { 186 | item.f = username; 187 | } 188 | 189 | if (item.s == 2) { 190 | $("#chatbox_"+chatboxtitle+" .chatboxcontent").append('
'+item.m+'
'); 191 | } else { 192 | newMessages[chatboxtitle] = true; 193 | newMessagesWin[chatboxtitle] = true; 194 | $("#chatbox_"+chatboxtitle+" .chatboxcontent").append('
'+item.f+':  '+item.m+'
'); 195 | } 196 | 197 | $("#chatbox_"+chatboxtitle+" .chatboxcontent").scrollTop($("#chatbox_"+chatboxtitle+" .chatboxcontent")[0].scrollHeight); 198 | itemsfound += 1; 199 | } 200 | }); 201 | 202 | chatHeartbeatCount++; 203 | 204 | if (itemsfound > 0) { 205 | chatHeartbeatTime = minChatHeartbeat; 206 | chatHeartbeatCount = 1; 207 | } else if (chatHeartbeatCount >= 10) { 208 | chatHeartbeatTime *= 2; 209 | chatHeartbeatCount = 1; 210 | if (chatHeartbeatTime > maxChatHeartbeat) { 211 | chatHeartbeatTime = maxChatHeartbeat; 212 | } 213 | } 214 | 215 | setTimeout('chatHeartbeat();',chatHeartbeatTime); 216 | }}); 217 | } 218 | 219 | function closeChatBox(chatboxtitle) { 220 | $('#chatbox_'+chatboxtitle).css('display','none'); 221 | restructureChatBoxes(); 222 | 223 | $.post("chat.php?action=closechat", { chatbox: chatboxtitle} , function(data){ 224 | }); 225 | 226 | } 227 | 228 | function toggleChatBoxGrowth(chatboxtitle) { 229 | if ($('#chatbox_'+chatboxtitle+' .chatboxcontent').css('display') == 'none') { 230 | 231 | var minimizedChatBoxes = new Array(); 232 | 233 | if ($.cookie('chatbox_minimized')) { 234 | minimizedChatBoxes = $.cookie('chatbox_minimized').split(/\|/); 235 | } 236 | 237 | var newCookie = ''; 238 | 239 | for (i=0;i/g,">").replace(/\"/g,"""); 280 | $("#chatbox_"+chatboxtitle+" .chatboxcontent").append('
'+username+':  '+message+'
'); 281 | $("#chatbox_"+chatboxtitle+" .chatboxcontent").scrollTop($("#chatbox_"+chatboxtitle+" .chatboxcontent")[0].scrollHeight); 282 | }); 283 | } 284 | chatHeartbeatTime = minChatHeartbeat; 285 | chatHeartbeatCount = 1; 286 | 287 | return false; 288 | } 289 | 290 | var adjustedHeight = chatboxtextarea.clientHeight; 291 | var maxHeight = 94; 292 | 293 | if (maxHeight > adjustedHeight) { 294 | adjustedHeight = Math.max(chatboxtextarea.scrollHeight, adjustedHeight); 295 | if (maxHeight) 296 | adjustedHeight = Math.min(maxHeight, adjustedHeight); 297 | if (adjustedHeight > chatboxtextarea.clientHeight) 298 | $(chatboxtextarea).css('height',adjustedHeight+8 +'px'); 299 | } else { 300 | $(chatboxtextarea).css('overflow','auto'); 301 | } 302 | 303 | } 304 | 305 | function startChatSession(){ 306 | $.ajax({ 307 | url: "chat.php?action=startchatsession", 308 | cache: false, 309 | dataType: "json", 310 | success: function(data) { 311 | 312 | username = data.username; 313 | 314 | $.each(data.items, function(i,item){ 315 | if (item) { // fix strange ie bug 316 | 317 | chatboxtitle = item.f; 318 | 319 | if ($("#chatbox_"+chatboxtitle).length <= 0) { 320 | createChatBox(chatboxtitle,1); 321 | } 322 | 323 | if (item.s == 1) { 324 | item.f = username; 325 | } 326 | 327 | if (item.s == 2) { 328 | $("#chatbox_"+chatboxtitle+" .chatboxcontent").append('
'+item.m+'
'); 329 | } else { 330 | $("#chatbox_"+chatboxtitle+" .chatboxcontent").append('
'+item.f+':  '+item.m+'
'); 331 | } 332 | } 333 | }); 334 | 335 | for (i=0;i 25 | 26 | 27 | ! 28 | 29 | Welcome to Online Library! 30 | 31 | 32 | 33 | 34 | 35 |

New arrivals!!!

36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 |
Book NoBook NameAuthor NamePublisherVolumeInfo
22664Environmental StudiesDaniels,R.J.RWiley INDIA, New Delhi 200920
22669Modern Digital and Analog Communication SystemsLathi B. P.Oxford University press,200620
22679The 8088 and 8086 Microprocessors: Programming, InterfacingTriebel W. A.University press Hyderabed, 200925
22689PC Hardware a beginners guideGilster R.Tata Mcgraw Hill New Delhi, 200835
22694Remote Sennsing: Principles and ApplicationPanda B. C.Viva Books, New Delhi, 200915
22699Data Mining MethodsChattamvelli, R.Narosa publishing house,New Delhi,200820
22704Introduction to PrologSuri, R. P.Narosa publishing house,New Delhi,200820
22709Software Testing: Concepts and Practices.Mustafa, K.Narosa publishing house,New Delhi,200820
102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | -------------------------------------------------------------------------------- /livesearch.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | ONLINE TEST 4 | 26 | 27 | 28 | 32 | 33 | 34 |
35 | 36 | 48 | 49 | 50 | 51 | 52 | 53 |
54 |
55 | 56 | 57 | 58 | 59 | 60 |
Enter the name of the test :
61 | 62 | -------------------------------------------------------------------------------- /login.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 70 | 71 | -------------------------------------------------------------------------------- /login1.php: -------------------------------------------------------------------------------- 1 | 8 | -------------------------------------------------------------------------------- /login2.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 71 | 72 | -------------------------------------------------------------------------------- /logout.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /newpass.php: -------------------------------------------------------------------------------- 1 | 2 | New password 3 | 4 | 26 |


Enter new Password !!
"; 31 | 32 | ?> 33 | 34 |
35 |
36 |    37 |
38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 |
   New Password:


   Confirm Password:


51 |
52 |
53 |                          54 | 55 |
56 | 57 | 58 | -------------------------------------------------------------------------------- /notices/academic-calendar2011-12-evensem.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshalisingh/social-networking-website/925855d912e29c3c43c3247eb16dd7e44f229b3d/notices/academic-calendar2011-12-evensem.pdf -------------------------------------------------------------------------------- /notices/exam-notice2012.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshalisingh/social-networking-website/925855d912e29c3c43c3247eb16dd7e44f229b3d/notices/exam-notice2012.pdf -------------------------------------------------------------------------------- /notices/free-notice.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshalisingh/social-networking-website/925855d912e29c3c43c3247eb16dd7e44f229b3d/notices/free-notice.pdf -------------------------------------------------------------------------------- /onlinetest.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | Online test 4 | 5 | 6 | 10 |
11 | 12 | 13 |
Welcome to StudentWorld Onlinetest

                             14 | These tests give you free training of competitive exams like CAT,GRE,GMAT,GATE and technical test like C++,Java. 15 | You can test your knowledge from our vast question bank and get prepared to crack exams confidently and successfull. 16 | This will test your knowledge and intelligence on various technical and aptitude interview related topics to see how good you are and assesses your performance which helps you analyse your strong and week areas. 17 | Check out these quiz and tell your friends to take them too! 18 | 19 |


20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 |
Select type of test !!
MBA
GATE
GRE
GMAT
C++
JAVA
29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /passchanged.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /passwrong.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /photo.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | Photos 4 | 5 | 6 | 7 | 10 | 11 | 12 | 13 | 17 | 18 | 19 | 20 | 115 | "; 121 | if(strcasecmp($q_username,$username)==0) 122 | { 123 | echo "
21 | 22 | 44 | 45 | 46 | 47 | "; 54 | } 55 | else 56 | { 57 | echo ""; 58 | } 59 | echo ""; 60 | echo ""; 61 | echo ""; 62 | echo ""; 63 | echo ""; 64 | 65 | echo ""; 66 | echo ""; 67 | echo ""; 105 | } 106 | 107 | mysql_close($con); 108 | 109 | ?> 110 | 111 | 112 | 113 |
Message
Send Message
Photos
Videos
Friends
"; 68 | ?> 69 |
70 | 73 |
74 | 75 |

$fname   $lname

114 |
116 |
$q_username > Photos Create new album
"; 124 | } 125 | else 126 | { 127 | echo "
"; 128 | } 129 | echo "
"; 130 | echo "
Your albums
"; 131 | 132 | $con = mysql_connect("localhost","root",""); 133 | if (!$con) 134 | { 135 | die('Could not connect: ' . mysql_error()); 136 | } 137 | 138 | mysql_select_db("irkut", $con); 139 | 140 | $result = mysql_query("SELECT * FROM album where username = '".$q_username."' "); 141 | 142 | echo "
"; 143 | //$i=0; 144 | while($row = mysql_fetch_array($result)) 145 | { 146 | // $i=$i+1; 147 | $alface=$row[alface]; 148 | echo " 150 | "; 157 | 158 | 159 | //echo $row[aface]."
"; 160 | /*if($i==4) 161 | { 162 | $i=0; 163 | echo ""; 164 | }*/ 165 | } 166 | 167 | 168 | 169 | ?> 170 |
"; ?> 149 | Album   Description
Album name: $row[alname]

Description: $row[descripn]
Last modified: $row[date]

"; 152 | if(strcasecmp($username,$q_username)==0) 153 | { 154 | echo "Remove"; 155 | } 156 | echo "
171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | -------------------------------------------------------------------------------- /photo/8social-network.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshalisingh/social-networking-website/925855d912e29c3c43c3247eb16dd7e44f229b3d/photo/8social-network.jpg -------------------------------------------------------------------------------- /photo/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshalisingh/social-networking-website/925855d912e29c3c43c3247eb16dd7e44f229b3d/photo/Thumbs.db -------------------------------------------------------------------------------- /photo/ad1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshalisingh/social-networking-website/925855d912e29c3c43c3247eb16dd7e44f229b3d/photo/ad1.jpg -------------------------------------------------------------------------------- /photo/icon_doc.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshalisingh/social-networking-website/925855d912e29c3c43c3247eb16dd7e44f229b3d/photo/icon_doc.gif -------------------------------------------------------------------------------- /photo/msg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshalisingh/social-networking-website/925855d912e29c3c43c3247eb16dd7e44f229b3d/photo/msg.jpg -------------------------------------------------------------------------------- /photoalbum.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | Photos 4 | 5 | 6 | "; 32 | 33 | echo ""; 34 | if(strcasecmp($pusername,$username)==0) 35 | { 36 | echo "
$pusername > Photos Upload more Photos
"; 37 | } 38 | else 39 | { 40 | echo ""; 41 | } 42 | echo "
"; 43 | echo "
$alname 's photos
"; 44 | 45 | $con = mysql_connect("localhost","root",""); 46 | if (!$con) 47 | { 48 | die('Could not connect: ' . mysql_error()); 49 | } 50 | 51 | mysql_select_db("irkut", $con); 52 | 53 | $result = mysql_query("SELECT * FROM photos where aid = '".$aid."' "); 54 | 55 | echo "
"; 56 | $i=0; 57 | while($row = mysql_fetch_array($result)) 58 | { 59 | $i=$i+1; 60 | echo ""; 64 | //echo $row[date]."
"; 65 | } 66 | if($i==4) 67 | { 68 | $i=0; 69 | echo ""; 70 | } 71 | } 72 | 73 | 74 | ?> 75 | 76 |

$row[date]
"; 61 | if(strcasecmp($pusername,$username)==0) 62 | { 63 | echo "

Delete
77 | 78 | -------------------------------------------------------------------------------- /photodisplay.php: -------------------------------------------------------------------------------- 1 | "; 12 | //echo "
Fullscreen view
"; 13 | 14 | 15 | /** setup **/ 16 | $imgDir = "album"; // image directory 17 | $imgSub = false; // include sub directories when gathering images? 18 | $imgId = "lgImage"; // id tag for images 19 | 20 | $con = mysql_connect("localhost","root",""); 21 | if (!$con) 22 | { 23 | die('Could not connect: ' . mysql_error()); 24 | } 25 | 26 | mysql_select_db("irkut", $con); 27 | 28 | $username=$_SESSION['username']; 29 | $query = "SELECT photoadd FROM photos ". 30 | "WHERE aid = \"$aid\" "; 31 | 32 | $result = mysql_query($query, $con); 33 | $i=0; 34 | while($row = mysql_fetch_array($result)) 35 | { 36 | $temp = $row[photoadd]; 37 | //echo $temp; 38 | $getImg[$i]="album/$temp"; 39 | 40 | 41 | //echo $getImg[$i]; 42 | $i=$i+1; 43 | } 44 | $j= (int)$pid; 45 | $j=$j-1; 46 | //echo $j; 47 | //echo $getImg[$j]; 48 | 49 | //$getImg = lsDir($imgDir,$imgSub); // gather images 50 | //$numImgs = count($getImg); // count images 51 | $numImgs = $i; 52 | 53 | ?> 54 | 55 | 57 | 58 | 59 | 60 | Photo Viewer 61 | 62 | 65 | 66 | 67 | 81 |
82 | 83 | 84 |
85 | 86 |
87 |
88 |
89 |
90 |
91 |
92 | 93 |
94 | 95 | 96 |
97 | 98 |
99 |
100 | 1 101 |
102 |
103 | 104 |
105 | 106 |
107 |
108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | -------------------------------------------------------------------------------- /photosubmit.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | Upload files 4 | 5 | 6 | 7 |
8 | 9 |


Upload more photos


"; 15 | for($i=0; $i < $number; $i++){ 16 | ?> 17 |

18 | 19 |

20 |

21 | 22 | 23 |

24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /profile/0002_01.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshalisingh/social-networking-website/925855d912e29c3c43c3247eb16dd7e44f229b3d/profile/0002_01.JPG -------------------------------------------------------------------------------- /profile/0002_06.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshalisingh/social-networking-website/925855d912e29c3c43c3247eb16dd7e44f229b3d/profile/0002_06.JPG -------------------------------------------------------------------------------- /profile/0002_07.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshalisingh/social-networking-website/925855d912e29c3c43c3247eb16dd7e44f229b3d/profile/0002_07.JPG -------------------------------------------------------------------------------- /profile/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshalisingh/social-networking-website/925855d912e29c3c43c3247eb16dd7e44f229b3d/profile/Thumbs.db -------------------------------------------------------------------------------- /profile/dp.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshalisingh/social-networking-website/925855d912e29c3c43c3247eb16dd7e44f229b3d/profile/dp.jpg -------------------------------------------------------------------------------- /regform.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | StudentWorld accounts 4 | 5 | 8 | 9 | 10 | 11 | 12 | 13 | 122 | 123 |
124 | 125 | 126 |
   Create an account
127 | 128 |
129 |
130 |    If you already have an account then login here. 131 | 132 |
133 |
134 | 135 |    Required information for StudentWorld account 136 |

137 |
138 | Account Information
139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 152 | 153 | 154 | 155 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 |
   First Name:


   Last Name:


   Username: 151 |


   Your e-mail: 156 |


   Choose a Password:


   Confirm Password:



169 | Personal Information 170 |
171 | 172 | 173 | 177 | 178 | 179 | 180 | 181 | 216 | 217 | 218 | 219 | 220 | 221 | 222 | 223 | 224 | 225 | 226 | 227 | 228 |
   I am: 174 | Male 175 | Female 176 |


   Birthday: Day : 182 | 192 | 193 |    Month : 194 | 204 | 205 |    Year : 206 |


   Country:


   City:
229 |

230 | Security Questions
231 | 232 | 233 | 234 | 235 | 236 | 237 | 238 | 239 | 240 | 241 | 242 | 243 | 244 | 246 | 247 |
   What is name of your favourite place?


   Who is your favourite sport person?



  245 |
248 | 249 | -------------------------------------------------------------------------------- /reject.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 18 | 21 | 22 | -------------------------------------------------------------------------------- /scrapbook.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 |
9 |
10 | 11 | 12 | 14 |
13 | Messages for You
15 |
16 |
17 | 18 | 19 | 20 | "; 40 | $picadd=""; 41 | $query1 = "SELECT picadd FROM profilepic ". 42 | "WHERE username = \"$row[sent_from]\" "; 43 | 44 | $t=time(); 45 | $tm=$t-$row[time]; 46 | $sec=$tm%60; 47 | $min=floor($tm/60); 48 | $hr=floor($min/60); 49 | $day=floor($hr/24); 50 | if($day>1) 51 | { 52 | $msg="$day days ago"; 53 | } 54 | else 55 | { 56 | if($hr>0) 57 | { 58 | $msg="$hr hours ago"; 59 | } 60 | else 61 | { 62 | if($min>0) 63 | { 64 | $msg="$min minutes ago"; 65 | } 66 | else 67 | { 68 | $msg="$sec seconds ago"; 69 | } 70 | } 71 | } 72 | $result1 = mysql_query($query1, $con); 73 | while($row1 = mysql_fetch_array($result1)) 74 | { 75 | $picadd = $row1[picadd]; 76 | 77 | } 78 | 79 | echo ""; 84 | } 85 | 86 | mysql_close($con); 87 | ?> 88 | 89 |
$row[sent_from]$row[message]
$row[sent_from]"; 80 | 81 | 82 | echo "$row[message]
$msg
"; 83 | echo "
90 | 91 | -------------------------------------------------------------------------------- /scrapshow.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | "; 18 | } 19 | 20 | mysql_close($con); 21 | ?> 22 | 23 | -------------------------------------------------------------------------------- /searchfriend.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | Friends 4 | 95 | 96 | 97 | 101 | 102 | 103 | 190 | 191 | "; 211 | echo " 277 | 278 |
104 | 105 | 126 | 127 | 128 | 129 | "; 135 | } 136 | else 137 | { 138 | echo ""; 139 | } 140 | 141 | echo ""; 142 | echo ""; 143 | echo ""; 144 | echo ""; 145 | echo ""; 146 | 147 | echo ""; 148 | echo ""; 149 | echo ""; 175 | if($i==25) 176 | { 177 | 178 | echo ""; 179 | break; 180 | } 181 | } 182 | 183 | mysql_close($con); 184 | ?> 185 | 186 | 187 | 188 |
Message
Send Message
Photos
Videos
Friends
"; 150 | ?> 151 |
152 | 155 |
156 | 157 |

$row[fname] $row[lname]

Search for more

189 |
"; 212 | echo "
Search Friends
"; 213 | echo "
"; 214 | 215 | echo "
Search By Name
"; 216 | //echo "

Enter the Name"; 217 | ?> 218 | 219 |
220 |
221 | 222 | 223 | 224 | 225 | 226 | 227 | 228 | 229 | 230 |
First NameLast Name
Enter the Name   :
231 | 232 | 233 |
234 | 235 |
236 |

"; 239 | echo "
Search By Username
"; 240 | ?> 241 |
242 |
243 | 244 | 245 | 246 | 247 | 248 |
Enter the Username   :
249 |
250 | 251 |
252 | 253 |
254 | 255 |

"; 258 | echo "
Search By E-mail ID
"; 259 | ?> 260 |
261 |
262 | 263 | 264 | 265 | 266 | 267 |
Enter the E-mail Id   :
268 |
269 | 270 |
271 | 272 |
273 | 274 | 275 | 276 |
279 | 280 | -------------------------------------------------------------------------------- /searchmail.php: -------------------------------------------------------------------------------- 1 | "; 23 | while($row = mysql_fetch_array($result)) 24 | { 25 | $picadd=""; 26 | $tusername=$row[username]; 27 | // echo $tusername; 28 | 29 | $query1 = "SELECT picadd FROM profilepic ". 30 | "WHERE username = \"$tusername\" "; 31 | 32 | $result1 = mysql_query($query1, $con); 33 | 34 | while($row1 = mysql_fetch_array($result1)) 35 | { 36 | $picadd=$row1[picadd]; 37 | } 38 | echo ""; 39 | 40 | } 41 | echo "
$tusername
"; 42 | 43 | ?> 44 | 45 | -------------------------------------------------------------------------------- /searchnm.php: -------------------------------------------------------------------------------- 1 | "; 42 | while($row = mysql_fetch_array($result)) 43 | { 44 | $picadd=""; 45 | $tusername=$row[username]; 46 | // echo $tusername; 47 | 48 | $query1 = "SELECT picadd FROM profilepic ". 49 | "WHERE username = \"$tusername\" "; 50 | 51 | $result1 = mysql_query($query1, $con); 52 | 53 | while($row1 = mysql_fetch_array($result1)) 54 | { 55 | $picadd=$row1[picadd]; 56 | } 57 | echo ""; 58 | 59 | } 60 | 61 | $query = "select username from validate WHERE fname IN (select fname from search where username= '".$username."') AND lname NOT IN (select lname from search where username= '".$username."') "; 62 | //echo $query; 63 | 64 | $result = mysql_query($query, $con); 65 | //echo "
$tusername
"; 66 | while($row = mysql_fetch_array($result)) 67 | { 68 | $picadd=""; 69 | $tusername=$row[username]; 70 | // echo $tusername; 71 | 72 | $query1 = "SELECT picadd FROM profilepic ". 73 | "WHERE username = \"$tusername\" "; 74 | 75 | $result1 = mysql_query($query1, $con); 76 | 77 | while($row1 = mysql_fetch_array($result1)) 78 | { 79 | $picadd=$row1[picadd]; 80 | } 81 | echo ""; 82 | 83 | } 84 | 85 | 86 | $query = "select username from validate WHERE fname NOT IN (select fname from search where username= '".$username."') AND lname IN (select lname from search where username= '".$username."') "; 87 | //echo $query; 88 | 89 | $result = mysql_query($query, $con); 90 | //echo "
$tusername
"; 91 | while($row = mysql_fetch_array($result)) 92 | { 93 | $picadd=""; 94 | $tusername=$row[username]; 95 | // echo $tusername; 96 | 97 | $query1 = "SELECT picadd FROM profilepic ". 98 | "WHERE username = \"$tusername\" "; 99 | 100 | $result1 = mysql_query($query1, $con); 101 | 102 | while($row1 = mysql_fetch_array($result1)) 103 | { 104 | $picadd=$row1[picadd]; 105 | } 106 | echo ""; 107 | 108 | } 109 | 110 | 111 | mysql_close($con); 112 | echo "
$tusername
"; 113 | 114 | //echo $fname; 115 | //echo $lname; 116 | 117 | 118 | ?> -------------------------------------------------------------------------------- /searchtest.php: -------------------------------------------------------------------------------- 1 | 19 | mysql_close($con); 20 | echo ""; 21 | 22 | //echo $fname; 23 | //echo $lname; 24 | 25 | 26 | ?> -------------------------------------------------------------------------------- /searchunm.php: -------------------------------------------------------------------------------- 1 | "; 23 | while($row = mysql_fetch_array($result)) 24 | { 25 | $picadd=""; 26 | $tusername=$row[username]; 27 | // echo $tusername; 28 | 29 | $query1 = "SELECT picadd FROM profilepic ". 30 | "WHERE username = \"$tusername\" "; 31 | 32 | $result1 = mysql_query($query1, $con); 33 | 34 | while($row1 = mysql_fetch_array($result1)) 35 | { 36 | $picadd=$row1[picadd]; 37 | } 38 | echo ""; 39 | 40 | } 41 | echo "
$tusername
"; 42 | 43 | ?> 44 | 45 | -------------------------------------------------------------------------------- /selectonlinetest.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | Online test 4 | 5 | 6 | 10 |
11 | 12 | 13 |
Welcome to StudentWorld Onlinetest

                14 | These tests give you free training of competitive exams of streams according to your interest.Please select the stream or branch you are interested in. 15 | 16 |


17 | 18 | 19 | 20 | 21 |
Select stream !!
ARTS
TECHNICAL
COMMERCE
22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /sendscrap.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 17 | 18 |
19 | 20 |


Send him your Message
"; 23 | 24 | $q_username= $_GET['q_username']; 25 | $username= $_SESSION['username']; 26 | //echo $q_username; 27 | 28 | echo ""; 29 | ?> 30 | 31 |
32 |
33 |    34 |
35 |
36 |                            37 | 38 |
39 | 40 | -------------------------------------------------------------------------------- /showpassword.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 26 | 27 | 28 |
   Old Password:


   New Password:


   Confirm Password:



  25 |
29 | 30 | -------------------------------------------------------------------------------- /showusername.php: -------------------------------------------------------------------------------- 1 | 6 |
7 | 8 | 9 | 10 | 11 | 13 | 14 | 15 | 16 | 17 | 19 | 20 | 21 |


   Username: 12 |



  18 |
-------------------------------------------------------------------------------- /status.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 28 | 29 | 48 | 49 | -------------------------------------------------------------------------------- /style.css: -------------------------------------------------------------------------------- 1 | html,body{margin:0;padding:0} 2 | body{text-align: left;background: #fff;} 3 | td{font-family:"Garamond";padding=0} 4 | a:{display:block;color:black; background:inherit;text-decoration:none;} 5 | a:link,a:visited 6 | { 7 | color:black; 8 | display:block; 9 | text-align:center; 10 | text-decoration:none; 11 | background-color:#BCCDE9; 12 | 13 | } 14 | a:hover,a:active 15 | { 16 | color:black; 17 | background-color:#E8EEFA; 18 | } 19 | 20 | 21 | 22 | 23 | ul#nav a:hover{background: #fff;color: #000;text-decoration:underline;} 24 | 25 | 26 | div#header{width:97%;overflow:hidden;background: #BBD9FF; } 27 | div#header h1,div#menu{width:770px;margin:0 auto;text-align:left} 28 | div#header h1{padding: 30px 0 20px;color: #fff} 29 | 30 | #right {padding: 0.3em; 31 | background: #eee; 32 | text-align: justify; 33 | } 34 | 35 | #left { 36 | float: right; 37 | width: 20%; 38 | margin: 0 0 10px 0; 39 | 40 | } 41 | 42 | #left .box { 43 | 44 | padding: 1em; 45 | margin: 0 0 1em 0; 46 | background : #FFF6BF; 47 | } 48 | 49 | 50 | #content { 51 | font: 95%/1.3 TrebuchetMS,Arial,sans-serif; 52 | margin: 10 auto; 53 | padding: 0px; 54 | background: #fff; 55 | 56 | 57 | } 58 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /technical.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | Online test 4 | 5 | 6 | 10 |
11 | 12 | 13 |
Welcome to StudentWorld Onlinetest

                             14 | These tests give you free training of competitive exams like CAT,GRE,GMAT,GATE and technical test like C++,Java. 15 | You can test your knowledge from our vast question bank and get prepared to crack exams confidently and successfull. 16 | This will test your knowledge and intelligence on various technical and aptitude interview related topics to see how good you are and assesses your performance which helps you analyse your strong and week areas. 17 | Check out these quiz and tell your friends to take them too! 18 | 19 |


20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 |
Select type of test !!
MBA
GATE
GRE
GMAT
C++
JAVA
29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /test.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | Test 4 | 5 | 6 | 16 | 17 | 18 | 19 |
Sample Test 20 |
21 | 22 | 23 | "; 48 | 49 | 50 | } 51 | ?> 52 |

$qno . $nbsp $question

"; 44 | echo "$nbsp $option1
"; 45 | echo " $nbsp $option2
"; 46 | echo " $nbsp $option3
"; 47 | echo " $nbsp $option4
53 | 54 |

55 |                       56 |   57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | -------------------------------------------------------------------------------- /testresult.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | Testresult 4 | 5 | 6 | 43 |

44 | 45 | 46 | 47 | 49 | =20) 81 | { 82 | echo ""; 85 | } 86 | else 87 | { 88 | if($count>=15) 89 | { 90 | echo ""; 94 | } 95 | else 96 | { 97 | echo ""; 101 | 102 | } 103 | } 104 | ?> 105 | 110 |
Test Result 48 |

Too Good !!
Your Score : $count
"; 84 | echo " Keep going ...take another test


Its fine !!
Your Score : $count
"; 92 | 93 | echo " Try more ...take another test


Its Bad !!
Your Score : $count
"; 99 | 100 | echo " Try more ...take another test

106 | 107 |          108 | 109 |
111 | 112 | 113 | 114 | -------------------------------------------------------------------------------- /testtype.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | Online test 4 | 5 | 6 | 15 |

16 | 17 | 18 |

Rules: 19 |

  • There will 25 questions in each test.
  • 20 |
  • Try to solve ir within 30 minutes.
  • 21 |
  • 2 Marks for each correct answer.
  • 22 |
  • -1 for each wrong answer.
  • 23 | 24 |
25 | 26 |



27 | 28 | 29 | 30 |
Select one of following test !!

31 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 |
Test 1
Test 2
Test 3
Test 4
Test 5
Test 6
Test 7
Test 8
Test 9
Test 10
44 | 45 | 46 | -------------------------------------------------------------------------------- /unfriend.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /upload_file.php: -------------------------------------------------------------------------------- 1 | 0) 5 | { 6 | echo "Return Code: " . $_FILES["file"]["error"] . "
"; 7 | } 8 | else 9 | { 10 | /*echo "Upload: " . $_FILES["file"]["name"] . "
"; 11 | echo "Type: " . $_FILES["file"]["type"] . "
"; 12 | echo "Size: " . ($_FILES["file"]["size"] / 1024) . " Kb
"; 13 | echo "Temp file: " . $_FILES["file"]["tmp_name"] . "
";*/ 14 | 15 | $con = mysql_connect("localhost","root",""); 16 | if (!$con) 17 | { 18 | die('Could not connect: ' . mysql_error()); 19 | } 20 | mysql_select_db("irkut", $con); 21 | $username= $_SESSION['username']; 22 | mysql_query("DELETE FROM profilepic WHERE username='".$username."'"); 23 | 24 | mysql_query("INSERT INTO profilepic (username, picadd) 25 | VALUES ('".$_SESSION['username']."','".$_FILES["file"]["name"]."')"); 26 | 27 | mysql_close($con); 28 | 29 | if (file_exists("profile/" . $_FILES["file"]["name"])) 30 | { 31 | echo $_FILES["file"]["name"] . " already exists. "; 32 | } 33 | else 34 | { 35 | move_uploaded_file($_FILES["file"]["tmp_name"], 36 | "profile/" . $_FILES["file"]["name"]); 37 | //echo "Stored in: " . "profile/" . $_FILES["file"]["name"]; 38 | 39 | } 40 | } 41 | require_once "Loginsuccessful.php"; 42 | ?> -------------------------------------------------------------------------------- /uploadmphoto.php: -------------------------------------------------------------------------------- 1 | "; 50 | }else{ 51 | echo "$file_name | could not be uploaded!
"; 52 | } 53 | 54 | } 55 | header ("Location: photoalbum.php?aid=$aid"); 56 | ?> 57 | 58 | 59 | -------------------------------------------------------------------------------- /uploadphoto.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 24 |



Upload your new photo
25 |

26 |
27 |

28 |
30 | 31 | 32 |
33 |

34 | 35 |
36 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /use.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | Profile"; 39 | } 40 | 41 | 42 | //echo ""; 43 | echo ""; 44 | echo ""; 45 | ?> 46 | 47 |
StudentWorldHomePhotosAccountLogout
48 | 49 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /use2.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 10 | 11 | 12 | 107 | 108 | -------------------------------------------------------------------------------- /useupdate.php: -------------------------------------------------------------------------------- 1 |
13 | 14 | 34 | 35 | 36 | 37 | "; 44 | } 45 | else 46 | { 47 | echo ""; 48 | } 49 | 50 | echo ""; 51 | echo ""; 52 | echo ""; 53 | echo ""; 54 | echo ""; 55 | 56 | echo ""; 57 | echo ""; 58 | echo ""; 96 | } 97 | 98 | mysql_close($con); 99 | ?> 100 | 101 | 102 | 103 | 104 | 105 |
Message
Send Message
Photos
Videos
Friends
"; 59 | ?> 60 |
61 | 64 |
65 | 66 |

$fname   $lname

106 |
2 | 1) 40 | { 41 | $msg="$day days ago"; 42 | } 43 | else 44 | { 45 | if($hr>0) 46 | { 47 | $msg="$hr hours ago"; 48 | } 49 | else 50 | { 51 | if($min>0) 52 | { 53 | $msg="$min minutes ago"; 54 | } 55 | else 56 | { 57 | $msg="$sec seconds ago"; 58 | } 59 | } 60 | } 61 | $result1 = mysql_query($query1, $con); 62 | while($row1 = mysql_fetch_array($result1)) 63 | { 64 | $picadd = $row1[picadd]; 65 | 66 | } 67 | 68 | echo ""; 77 | if($i==40) 78 | { 79 | break; 80 | } 81 | } 82 | 83 | mysql_close($con); 84 | ?> 85 |
$row[susername]"; 69 | 70 | 71 | echo "$row[sname]
$msg
"; 72 | if($username==$row[susername]) 73 | { 74 | echo "Delete"; 75 | } 76 | echo "
-------------------------------------------------------------------------------- /valshow.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | "; 18 | } 19 | 20 | mysql_close($con); 21 | ?> 22 | 23 | -------------------------------------------------------------------------------- /vdconfirm.php: -------------------------------------------------------------------------------- 1 | 0) 10 | { 11 | echo "Return Code: " . $_FILES["file"]["error"] . "
"; 12 | } 13 | else 14 | { 15 | /* echo "Upload: " . $_FILES["file"]["name"] . "
"; 16 | echo "Type: " . $_FILES["file"]["type"] . "
"; 17 | echo "Size: " . ($_FILES["file"]["size"] / 1024) . " Kb
"; 18 | echo "Temp file: " . $_FILES["file"]["tmp_name"] . "
";}*/ 19 | $con = mysql_connect("localhost","root",""); 20 | if (!$con) 21 | { 22 | die('Could not connect: ' . mysql_error()); 23 | } 24 | mysql_select_db("irkut", $con); 25 | 26 | $query = "SELECT count FROM vcounter "; 27 | 28 | $result = mysql_query($query, $con); 29 | while($row = mysql_fetch_array($result)) 30 | { 31 | $count = $row[count]; 32 | } 33 | 34 | $count=$count+1; 35 | 36 | $username = $_SESSION['username']; 37 | 38 | 39 | mysql_query("INSERT INTO video (vid, username, vname, vface, vtype, date, vdescripn) 40 | VALUES ('".$count."','".$username."','".$vname."','".$_FILES["file"]["name"]."','".$_FILES["file"]["type"]."','".$date."','".$dname."')"); 41 | 42 | 43 | mysql_query("UPDATE vcounter SET count = '$count'"); 44 | mysql_close($con); 45 | 46 | if (file_exists("album/" . $_FILES["file"]["name"])) 47 | { 48 | echo $_FILES["file"]["name"] . " already exists. "; 49 | } 50 | else 51 | { 52 | move_uploaded_file($_FILES["file"]["tmp_name"], 53 | "video/" . $_FILES["file"]["name"]); 54 | //echo "Stored in: " . "video/" . $_FILES["file"]["name"]; 55 | 56 | } 57 | } 58 | header ("Location: video.php?q_username=$username"); 59 | ?> -------------------------------------------------------------------------------- /vdupload.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | Upload video 4 | 5 | 6 |


Upload Your video


"; 10 | 11 | $q_username= $_GET['q_username']; 12 | $username= $_SESSION['username']; 13 | //echo $q_username; 14 | ?> 15 | 16 |
17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 32 | 33 | 34 | 36 | 37 |
   Video Name:


   Video description:


   Upload Video: 30 | 31 |



  35 |
38 | 39 | 40 | -------------------------------------------------------------------------------- /video.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | Videos 4 | 5 | 6 | 10 | 11 | 12 | 105 | "; 107 | 108 | echo "
13 | 14 | 34 | 35 | 36 | 37 | "; 44 | } 45 | else 46 | { 47 | echo ""; 48 | } 49 | 50 | echo ""; 51 | echo ""; 52 | echo ""; 53 | echo ""; 54 | echo ""; 55 | 56 | echo ""; 57 | echo ""; 58 | echo ""; 96 | } 97 | 98 | mysql_close($con); 99 | ?> 100 | 101 | 102 | 103 |
Message
Send Message
Photos
Videos
Friends
"; 59 | ?> 60 |
61 | 64 |
65 | 66 |

$fname   $lname

104 |
"; 109 | if(strcasecmp($q_username,$username)==0) 110 | { 111 | echo "
$q_username > Videos Upload more Videos
"; 112 | } 113 | else 114 | { 115 | echo ""; 116 | } 117 | echo "
"; 118 | echo "
All videos
"; 119 | 120 | $con = mysql_connect("localhost","root",""); 121 | if (!$con) 122 | { 123 | die('Could not connect: ' . mysql_error()); 124 | } 125 | 126 | mysql_select_db("irkut", $con); 127 | 128 | $result = mysql_query("SELECT * FROM video where username = '".$q_username."' "); 129 | 130 | echo "
"; 131 | $i=0; 132 | while($row = mysql_fetch_array($result)) 133 | { 134 | //$i=$i+1; 135 | 136 | //echo $row[vface]; 137 | 138 | ?> 139 | 144 | Video   Description
Video name: $row[vname]

Description: $row[vdescripn]
Uploaded on: $row[date]

"; 151 | //echo $row[date]."
"; 152 | /*if($i==2) 153 | { 154 | $i=0; 155 | echo ""; 156 | }*/ 157 | } 158 | 159 | 160 | ?> 161 |
140 | 141 | 142 | 143 | "; 146 | if(strcasecmp($username,$q_username)==0) 147 | { 148 | echo "Remove"; 149 | } 150 | echo "
162 | 163 | 164 | 165 | -------------------------------------------------------------------------------- /video/0.0000001.wmv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshalisingh/social-networking-website/925855d912e29c3c43c3247eb16dd7e44f229b3d/video/0.0000001.wmv -------------------------------------------------------------------------------- /video/American Rajnikanth.dat.wmv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshalisingh/social-networking-website/925855d912e29c3c43c3247eb16dd7e44f229b3d/video/American Rajnikanth.dat.wmv -------------------------------------------------------------------------------- /video/Flirting.wmv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshalisingh/social-networking-website/925855d912e29c3c43c3247eb16dd7e44f229b3d/video/Flirting.wmv -------------------------------------------------------------------------------- /video/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshalisingh/social-networking-website/925855d912e29c3c43c3247eb16dd7e44f229b3d/video/Thumbs.db -------------------------------------------------------------------------------- /viewanalysis.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | Test Analysis 4 | 5 | 6 | 16 | 17 | 18 | 19 |
Test Analysis 20 |
21 | 22 |

$qno . $nbsp $result
"; 40 | echo "$analysis
"; 41 | 42 | 43 | } 44 | ?> 45 |
46 |


47 |                          48 |                          49 |              50 | 51 |           52 | 53 | 54 | 55 | 56 | -------------------------------------------------------------------------------- /wrongans.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | Access Denied 4 | 5 | 6 | 7 | 8 | 9 |
10 |
11 |

Incorrect Answer . Please try again .

12 | 13 | --------------------------------------------------------------------------------