STORY LOOP FURRY PORN GAMES C SERVICES [?] [R] RND POPULAR | Archived flashes: 229455 |
/disc/ · /res/ — /show/ · /fap/ · /gg/ · /swf/ | P0001 · P2574 · P5148 |
This is the info page for Flash #74132 |
Creating your own video portal ! |
The first thing you got to do is to read my tutorails. It will give you a very good perspective about how the webserver and php works / operates |
You also need to get yourself a MySql server up and running, to get this script to work. if you don't know how to get one: Search on google "Download mysql for windows". You also need php with MySql support. Now... Let's get started! |
NEXT |
Setting up the database: |
Setting up the table for all the movies: |
Setting up the table for all the movie scores: |
The Index.php page: |
The upload.php page: |
The uploadpro.php page: |
The convert.php page: |
The style.css page: |
The rate.php page: |
The add_comment.php page: |
The search.php page: |
The search_result.php page: |
The ./comment/include/ page: |
The FFMPEG Converter: |
The Flash media player: |
Setting up the database: |
Open your command line. log into the server. Then input this: |
<p align="left"><font face="DejaVu Serif Condensed" size="14" color="#000000" letterSpacing="0.000000" kerning="1">CREATE DATABASE `portal`;</font></p> |
<p align="left"><font face="DejaVu Serif Condensed" size="14" color="#000000" letterSpacing="0.000000" kerning="1">USE `portal`;</font></p> |
Then enter: |
Setting up the table for all the movies: |
We surley want to have a place to store all the data we need. So now create the table that contains all the needed fields. I would recomend to use the example below: |
<p align="left"><font face="DejaVu Serif Condensed" size="12" color="#000000" letterSpacing="0.000000" kerning="1">CREATE TABLE IF NOT EXISTS `movie` (</font></p><p align="left"><font face="DejaVu Serif Condensed" size="12" color="#000000" letterSpacing="0.000000" kerning="1"> `ID` int(60) NOT NULL auto_increment,</font></p><p align="left"><font face="DejaVu Serif Condensed" size="12" color="#000000" letterSpacing="0.000000" kerning="1"> `title` varchar(60) NOT NULL,</font></p><p align="left"><font face="DejaVu Serif Condensed" size="12" color="#000000" letterSpacing="0.000000" kerning="1"> `file_location` text NOT NULL,</font></p><p align="left"><font face="DejaVu Serif Condensed" size="12" color="#000000" letterSpacing="0.000000" kerning="1"> `description` text NOT NULL,</font></p><p align="left"><font face="DejaVu Serif Condensed" size="12" color="#000000" letterSpacing="0.000000" kerning="1"> `date_uploaded` varchar(60) NOT NULL,</font></p><p align="left"><font face="DejaVu Serif Condensed" size="12" color="#000000" letterSpacing="0.000000" kerning="1"> `snap_shot` varchar(120) default NULL,</font></p><p align="left"><font face="DejaVu Serif Condensed" size="12" color="#000000" letterSpacing="0.000000" kerning="1"> PRIMARY KEY (`ID`)</font></p><p align="left"><font face="DejaVu Serif Condensed" size="12" color="#000000" letterSpacing="0.000000" kerning="1">) ENGINE=InnoDB DEFAULT CHARSET=latin1 COMMENT='My first attempt to create a video portal' AUTO_INCREMENT=5 ;</font></p> |
Well now we have a place to store all the data :) |
Setting up the table for all the movie scores: |
The ratings need a place to be stored to. Well then... Create another table. but now for the scores; Use the examle below: |
<p align="left"><font face="DejaVu Serif Condensed" size="12" color="#000000" letterSpacing="0.000000" kerning="1">CREATE TABLE IF NOT EXISTS `movie_scores` (</font></p><p align="left"><font face="DejaVu Serif Condensed" size="12" color="#000000" letterSpacing="0.000000" kerning="1"> `votes` int(120) NOT NULL,</font></p><p align="left"><font face="DejaVu Serif Condensed" size="12" color="#000000" letterSpacing="0.000000" kerning="1"> `movie_id` int(120) NOT NULL,</font></p><p align="left"><font face="DejaVu Serif Condensed" size="12" color="#000000" letterSpacing="0.000000" kerning="1"> `score` int(1) NOT NULL</font></p><p align="left"><font face="DejaVu Serif Condensed" size="12" color="#000000" letterSpacing="0.000000" kerning="1">) ENGINE=InnoDB DEFAULT CHARSET=latin1;</font></p> |
Well now we have a place to store all the scores :) |
All the MySql work is done congratulations! |
The Index.php page: |
As in all webpages we need an index page. Create a new .php document and edit it with any editor you like. first we need to connect to the database: |
<p align="left"><font face="DejaVu Serif Condensed" size="12" color="#000000" letterSpacing="0.000000" kerning="1"><?php</font></p><p align="left"></p><p align="left"><font face="DejaVu Serif Condensed" size="12" color="#000000" letterSpacing="0.000000" kerning="1">// connect to the database:</font></p><p align="left"><font face="DejaVu Serif Condensed" size="12" color="#000000" letterSpacing="0.000000" kerning="1">mysql_connect("localhost", "root", "your_password");</font></p><p align="left"><font face="DejaVu Serif Condensed" size="12" color="#000000" letterSpacing="0.000000" kerning="1">mysql_select_db("portal");</font></p> |
As you see in the the code the mysql_connect() function will connect to your mysql server. The mysql_select_db() selects the database. |
Now that you have put that in you need to have the id of the movie. This data we store in variables. the variables has dollar signs in fron of them. Now enter this piece of code in the bottom of YOUR page. |
<p align="left"><font face="DejaVu Serif Condensed" size="10" color="#000000" letterSpacing="0.000000" kerning="1"><?php</font></p><p align="left"></p><p align="left"><font face="DejaVu Serif Condensed" size="10" color="#000000" letterSpacing="0.000000" kerning="1">// connect to the database:</font></p><p align="left"><font face="DejaVu Serif Condensed" size="10" color="#000000" letterSpacing="0.000000" kerning="1">mysql_connect("localhost", "root", "your_password");</font></p><p align="left"><font face="DejaVu Serif Condensed" size="10" color="#000000" letterSpacing="0.000000" kerning="1">mysql_select_db("portal");</font></p><p align="left"></p><p align="left"><font face="DejaVu Serif Condensed" size="10" color="#000000" letterSpacing="0.000000" kerning="1">// the variable that stores the id:</font></p><p align="left"><font face="DejaVu Serif Condensed" size="10" color="#000000" letterSpacing="0.000000" kerning="1">$id = $_GET["id"];</font></p><p align="left"></p><p align="left"><font face="DejaVu Serif Condensed" size="10" color="#000000" letterSpacing="0.000000" kerning="1">// here we fetch the data from the server.</font></p><p align="left"><font face="DejaVu Serif Condensed" size="10" color="#000000" letterSpacing="0.000000" kerning="1">$result = mysql_query("SELECT * FROM `movie` WHERE `ID` = '".$id."'");</font></p><p align="left"><font face="DejaVu Serif Condensed" size="10" color="#000000" letterSpacing="0.000000" kerning="1">$row = mysql_fetch_array($result, MYSQL_ASSOC);</font></p><p align="left"></p><p align="left"><font face="DejaVu Serif Condensed" size="10" color="#000000" letterSpacing="0.000000" kerning="1">// includes the search.php page.</font></p><p align="left"><font face="DejaVu Serif Condensed" size="10" color="#000000" letterSpacing="0.000000" kerning="1">require("search.php");</font></p><p align="left"></p><p align="left"><font face="DejaVu Serif Condensed" size="10" color="#000000" letterSpacing="0.000000" kerning="1">// end tag.</font></p><p align="left"><font face="DejaVu Serif Condensed" size="10" color="#000000" letterSpacing="0.000000" kerning="1">?></font></p><p align="left"><font face="DejaVu Serif Condensed" size="10" color="#000000" letterSpacing="0.000000" kerning="1"><!-- new line --></font></p><p align="left"><font face="DejaVu Serif Condensed" size="10" color="#000000" letterSpacing="0.000000" kerning="1"><br /></font></p><p align="left"></p><p align="left"><font face="DejaVu Serif Condensed" size="10" color="#000000" letterSpacing="0.000000" kerning="1"><!-- the html start tag --></font></p><p align="left"><font face="DejaVu Serif Condensed" size="10" color="#000000" letterSpacing="0.000000" kerning="1"><html></font></p><p align="left"></p><p align="left"><font face="DejaVu Serif Condensed" size="10" color="#000000" letterSpacing="0.000000" kerning="1"><!-- the head tag --></font></p><p align="left"><font face="DejaVu Serif Condensed" size="10" color="#000000" letterSpacing="0.000000" kerning="1"><head></font></p><p align="left"></p><p align="left"><font face="DejaVu Serif Condensed" size="10" color="#000000" letterSpacing="0.000000" kerning="1"><!-- the title tag... --></font></p><p align="left"><font face="DejaVu Serif Condensed" size="10" color="#000000" letterSpacing="0.000000" kerning="1"><title><?= $row['title'] ?></title></font></p><p align="left"></p><p align="left"><font face="DejaVu Serif Condensed" size="10" color="#000000" letterSpacing="0.000000" kerning="1"><!-- get's the style sheet from our lib folder --></font></p><p align="left"><font face="DejaVu Serif Condensed" size="10" color="#000000" letterSpacing="0.000000" kerning="1"><style type="text/css"></font></p><p align="left"><font face="DejaVu Serif Condensed" size="10" color="#000000" letterSpacing="0.000000" kerning="1"><?</font></p><p align="left"><font face="DejaVu Serif Condensed" size="10" color="#000000" letterSpacing="0.000000" kerning="1">require("./comment/include/style.css");</font></p><p align="left"></p><p align="left"><font face="DejaVu Serif Condensed" size="10" color="#000000" letterSpacing="0.000000" kerning="1">?></font></p><p align="left"><font face="DejaVu Serif Condensed" size="10" color="#000000" letterSpacing="0.000000" kerning="1"></style></font></p> |
This part of the code just get's the search.php page(wich we have not yet created. and the style sheet(We will create that later on. |
Now let's add the rest of the code: |
<p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1"></head></font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1"><body></font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1"><script type="text/javascript"></font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1">function givecomment() {</font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1">var userInput = "<a name='c5t_form'></a><div class='background'><form action='add_comment.php?id=<?= $_GET["id"] ?>' method='post' name='form' id='form'><input name='page' type='hidden' value='' /><table class='c5t_comment_form_table'><tr><td colspan='2' class='c5t_error_message'></td></tr><tr><td class='c5t_comment_form_label'>Name </td></tr><tr><td class='c5t_comment_form_field'><input tabindex='9000' name='name' type='text' /></td></tr><tr><td class='c5t_comment_form_label'>E-mail <span style='font-size:70%;'>(Will not appear online)</span></td></tr><tr><td class='c5t_comment_form_field'><input tabindex='9001' name='email' type='text' /></td></tr><tr><td class='c5t_comment_form_label'>Homepage</td></tr><tr><td class='c5t_comment_form_field'><input tabindex='9002' name='homepage' type='text' value='http://' /></td></tr><tr><td class='c5t_comment_form_label'>Title</td></tr><tr><td class='c5t_comment_form_field'><input tabindex='9003' name='title' type='text' /></td></tr><tr><td class='c5t_comment_form_label'>Comment </td></tr> <tr><td></td></tr><tr><td class='c5t_comment_form_field'><textarea rows='8' cols='30' tabindex='9004' name='comment'></textarea></td></tr><tr><td class='c5t_comment_form_field'></td></tr><tr><td class='c5t_comment_form_label'></td></tr><tr><td class='c5t_comment_form_submit'><input tabindex='9005' name='save' value='Submit Comment' type='submit' /></td></tr></table></form></div>";</font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1">document.getElementById('form_place').innerHTML = userInput;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1"></script></font></p><p align="left"></p><p align="left"></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1"><?</font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1">if($_GET["id"] == '' || !isset($_GET["id"])){</font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1">$result = mysql_query("SELECT * FROM `movie`");</font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1">while($row = mysql_fetch_array($result, MYSQL_ASSOC)){</font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1">?></font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1"><div class="background"></font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1"><div class="item_title"><?= $row['title'] ?></div></font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1"><a href='index.php?id=<?= $row['ID'] ?>'><img title="<?= $row['description'] ?>" src='<?= $row['snap_shot'] ?>' width='200' height='200' ></a></font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1"></div></font></p><p align="left"></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1"><?</font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1">die();</font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1">$id = $_GET["id"];</font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1">$result = mysql_query("SELECT `file_location`, `title`, `description`, `snap_shot` FROM `movie` WHERE `ID` = '".$id."';");</font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1">$result2 = mysql_query("SELECT * FROM `movie_scores` WHERE `movie_id` = '".$id."';");</font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1">$row = mysql_fetch_row($result);</font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1">$row2 = mysql_fetch_row($result2);</font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1">?></font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1"><FORM action="rate.php?id=<?= $id ?>" method="POST" enctype="multipart/form-data" name="vote"></font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1">Rate This Clip: <SELECT name="vote"></font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1"><OPTION>1 - THIS SUCKS!!!</OPTION></font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1"><OPTION>2 - <u>BAD</u></OPTION></font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1"><OPTION>3 - Not Bad :)</OPTION></font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1"><OPTION>4 - Nice!</OPTION></font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1"><OPTION>5 - Best Clip Ever!!!</OPTION></font></p><p align="left"></p><p align="left"></p><p align="left"></p><p align="left"></p><p align="left"></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1"></SELECT></font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1"><INPUT type="submit" name="submit" value="Send Inn --&gt;"></font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1"></FORM></font></p><p align="left"></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1"><h1><?= $row[1] ?></h1><br /> <br /></font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1"><embed</font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1">src="./mediaplayer.swf"</font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1">width="400"</font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1">height="300"</font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1">allowscriptaccess="always"</font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1">allowfullscreen="true"</font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1">flashvars="height=300&width=400&file=http://pnyland.lan/portal/<?= $row[0].".flv"; ?>&image=<?= $row[3] ?>"</font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1">/></font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1"><div class="list"></font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1"><div class="background"></font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1"><div class="item_title"><strong>Description:</strong></div><br /><?= $row[2] ?></font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1"><div class="item_details">Current Score: <?= $row2[2] ?></div></font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1"></div></font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1"></div></font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1"><button onclick="givecomment()">give a comment </button></font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1"><div class="list"> </font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1"><?php</font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1">$movie_id = $_GET["id"];</font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1">if(!require("./comment/include/mysql_connect.inc.php")){</font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1">die("Could not get connection file");</font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1">?></font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1"><div id="form_place"></font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1"></div><br /></font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1"><div class="headline"><b>Comments:</b></div></font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1"><?</font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1">$result = mysql_query("SELECT * FROM `comments` WHERE `movie_id` = '".$movie_id."' ORDER BY `ID` DESC;");</font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1">while($row = mysql_fetch_array($result, MYSQL_BOTH)){</font></p><p align="left"></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1">?></font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1"><div class="background"></font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1"><div class="item_title"><?= $row[1] ?></div></font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1"><div class="item_text"><?= $row[3] ?></div></font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1"><div class="item_details"><a href="<?=$row[6] ?>"><?= $row[1] ?></a>&nbsp;&nbsp;<?= $row[2] ?></div></font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1"></div></font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1"><?</font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1">?></font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1"></div></font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1"></body></font></p><p align="left"><font face="DejaVu Serif Condensed" size="2" color="#000000" letterSpacing="0.000000" kerning="1"></html></font></p> |
The index.php page is now done alet's move on :) |
The upload.php page: |
create a file called upload.php. Then write this in it: |
<p align="left"><font face="DejaVu Serif Condensed" size="12" color="#000000" letterSpacing="0.000000" kerning="1"><html></font></p><p align="left"><font face="DejaVu Serif Condensed" size="12" color="#000000" letterSpacing="0.000000" kerning="1"><body></font></p><p align="left"><font face="DejaVu Serif Condensed" size="12" color="#000000" letterSpacing="0.000000" kerning="1"><form action="uploadpro.php" method="post" enctype="multipart/form-data"></font></p><p align="left"><font face="DejaVu Serif Condensed" size="12" color="#000000" letterSpacing="0.000000" kerning="1"><label for="title">Title: <br></label></font></p><p align="left"><font face="DejaVu Serif Condensed" size="12" color="#000000" letterSpacing="0.000000" kerning="1"><input type="text" name="title" id="title" /><br /><br /></font></p><p align="left"><font face="DejaVu Serif Condensed" size="12" color="#000000" letterSpacing="0.000000" kerning="1"><label for="file">Filename: <br></label></font></p><p align="left"><font face="DejaVu Serif Condensed" size="12" color="#000000" letterSpacing="0.000000" kerning="1"><input name="file" type="file" id="file" size="30" /> </font></p><p align="left"><font face="DejaVu Serif Condensed" size="12" color="#000000" letterSpacing="0.000000" kerning="1"><br /><br /></font></p><p align="left"><font face="DejaVu Serif Condensed" size="12" color="#000000" letterSpacing="0.000000" kerning="1"><textarea name="description" cols="30" rows="6" >Description here...</textarea></font></p><p align="left"><font face="DejaVu Serif Condensed" size="12" color="#000000" letterSpacing="0.000000" kerning="1"><br /><br /></font></p><p align="left"><font face="DejaVu Serif Condensed" size="12" color="#000000" letterSpacing="0.000000" kerning="1"><input type="submit" name="submit" value="Submit" /></font></p><p align="left"><font face="DejaVu Serif Condensed" size="12" color="#000000" letterSpacing="0.000000" kerning="1"></form></font></p><p align="left"><font face="DejaVu Serif Condensed" size="12" color="#000000" letterSpacing="0.000000" kerning="1"></body></font></p><p align="left"><font face="DejaVu Serif Condensed" size="12" color="#000000" letterSpacing="0.000000" kerning="1"></html></font></p> |
The uploadpro.php page: |
Create a file called uploadpro.php. Then write this in it: |
<p align="left"><font face="DejaVu Serif Condensed" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><?php</font></p><p align="left"><font face="DejaVu Serif Condensed" size="8" color="#000000" letterSpacing="0.000000" kerning="1">// In PHP versions earlier than 4.1.0, $HTTP_POST_FILES should be used instead</font></p><p align="left"><font face="DejaVu Serif Condensed" size="8" color="#000000" letterSpacing="0.000000" kerning="1">// of $_FILES.</font></p><p align="left"></p><p align="left"><font face="DejaVu Serif Condensed" size="8" color="#000000" letterSpacing="0.000000" kerning="1">$uploaddir = "./";</font></p><p align="left"><font face="DejaVu Serif Condensed" size="8" color="#000000" letterSpacing="0.000000" kerning="1">$title = $_POST["title"];</font></p><p align="left"><font face="DejaVu Serif Condensed" size="8" color="#000000" letterSpacing="0.000000" kerning="1">$description = $_POST["description"];</font></p><p align="left"><font face="DejaVu Serif Condensed" size="8" color="#000000" letterSpacing="0.000000" kerning="1">$date1 = date(D);</font></p><p align="left"><font face="DejaVu Serif Condensed" size="8" color="#000000" letterSpacing="0.000000" kerning="1">$date2 = date(m);</font></p><p align="left"><font face="DejaVu Serif Condensed" size="8" color="#000000" letterSpacing="0.000000" kerning="1">$date3 = date(Y);</font></p><p align="left"><font face="DejaVu Serif Condensed" size="8" color="#000000" letterSpacing="0.000000" kerning="1">$date4 = date(G);</font></p><p align="left"><font face="DejaVu Serif Condensed" size="8" color="#000000" letterSpacing="0.000000" kerning="1">$date5 = date(i);</font></p><p align="left"><font face="DejaVu Serif Condensed" size="8" color="#000000" letterSpacing="0.000000" kerning="1">$date6 = date(s);</font></p><p align="left"><font face="DejaVu Serif Condensed" size="8" color="#000000" letterSpacing="0.000000" kerning="1">$date = $date1 . "-" . $date2 . "-" . $date3 . "-" . $date4 . "-" . $date5 . "-" . $date6;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="8" color="#000000" letterSpacing="0.000000" kerning="1">$uploadfile = $uploaddir . $date;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="8" color="#000000" letterSpacing="0.000000" kerning="1">$filename = $date;</font></p><p align="left"></p><p align="left"><font face="DejaVu Serif Condensed" size="8" color="#000000" letterSpacing="0.000000" kerning="1">if(move_uploaded_file($_FILES['file']['tmp_name'], $uploadfile)){</font></p><p align="left"><font face="DejaVu Serif Condensed" size="8" color="#000000" letterSpacing="0.000000" kerning="1">if(!mysql_connect("localhost", "root", "your_password")){</font></p><p align="left"><font face="DejaVu Serif Condensed" size="8" color="#000000" letterSpacing="0.000000" kerning="1">die(mysql_error());</font></p><p align="left"><font face="DejaVu Serif Condensed" size="8" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="DejaVu Serif Condensed" size="8" color="#000000" letterSpacing="0.000000" kerning="1">if(!mysql_select_db("portal")){</font></p><p align="left"><font face="DejaVu Serif Condensed" size="8" color="#000000" letterSpacing="0.000000" kerning="1">die(mysql_error());</font></p><p align="left"><font face="DejaVu Serif Condensed" size="8" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="DejaVu Serif Condensed" size="8" color="#000000" letterSpacing="0.000000" kerning="1">$uploadfile2 = $filename;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="8" color="#000000" letterSpacing="0.000000" kerning="1">if(!mysql_query("INSERT INTO `movie` (`title`, `file_location`, `description`, `date_uploaded`) VALUES ('$title','$uploadfile2','$description','$date');")){</font></p><p align="left"><font face="DejaVu Serif Condensed" size="8" color="#000000" letterSpacing="0.000000" kerning="1">die(mysql_error());</font></p><p align="left"><font face="DejaVu Serif Condensed" size="8" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="DejaVu Serif Condensed" size="8" color="#000000" letterSpacing="0.000000" kerning="1">$result = mysql_query("SELECT * FROM `movie` WHERE `date_uploaded` = '".$date."';");</font></p><p align="left"><font face="DejaVu Serif Condensed" size="8" color="#000000" letterSpacing="0.000000" kerning="1">$row = mysql_fetch_row($result);</font></p><p align="left"><font face="DejaVu Serif Condensed" size="8" color="#000000" letterSpacing="0.000000" kerning="1">$id = $row[0];</font></p><p align="left"><font face="DejaVu Serif Condensed" size="8" color="#000000" letterSpacing="0.000000" kerning="1">if(!mysql_query("INSERT INTO `movie_scores` (`votes`, `movie_id`, `score`) VALUES ('0', '".$id."', '0.00');")){</font></p><p align="left"><font face="DejaVu Serif Condensed" size="8" color="#000000" letterSpacing="0.000000" kerning="1">die(mysql_error());</font></p><p align="left"><font face="DejaVu Serif Condensed" size="8" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="DejaVu Serif Condensed" size="8" color="#000000" letterSpacing="0.000000" kerning="1">header("Location: convert.php?date=$date");</font></p><p align="left"></p><p align="left"></p><p align="left"><font face="DejaVu Serif Condensed" size="8" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"></p><p align="left"><font face="DejaVu Serif Condensed" size="8" color="#000000" letterSpacing="0.000000" kerning="1">?></font></p><p align="left"></p> |
The convert.php page: |
Create a file called convertphp. Then write this in it: |
<p align="left"><font face="DejaVu Serif Condensed" size="13" color="#000000" letterSpacing="0.000000" kerning="1"><?php</font></p><p align="left"><font face="DejaVu Serif Condensed" size="13" color="#000000" letterSpacing="0.000000" kerning="1">if(!isset($_GET["date"])){</font></p><p align="left"><font face="DejaVu Serif Condensed" size="13" color="#000000" letterSpacing="0.000000" kerning="1">die('could not dertermine the filename');</font></p><p align="left"><font face="DejaVu Serif Condensed" size="13" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"></p><p align="left"></p><p align="left"><font face="DejaVu Serif Condensed" size="13" color="#000000" letterSpacing="0.000000" kerning="1">$date = $_GET["date"];</font></p><p align="left"><font face="DejaVu Serif Condensed" size="13" color="#000000" letterSpacing="0.000000" kerning="1">$con = mysql_connect("localhost", "root", "your_password");</font></p><p align="left"><font face="DejaVu Serif Condensed" size="13" color="#000000" letterSpacing="0.000000" kerning="1">mysql_select_db("portal");</font></p><p align="left"></p><p align="left"><font face="DejaVu Serif Condensed" size="13" color="#000000" letterSpacing="0.000000" kerning="1">$result = mysql_query("SELECT `file_location`, `ID` FROM `movie` WHERE `date_uploaded` = '{$date}';");</font></p><p align="left"><font face="DejaVu Serif Condensed" size="13" color="#000000" letterSpacing="0.000000" kerning="1">$row = mysql_fetch_row($result);</font></p><p align="left"></p><p align="left"><font face="DejaVu Serif Condensed" size="13" color="#000000" letterSpacing="0.000000" kerning="1">$tmp = "tmp";</font></p><p align="left"><font face="DejaVu Serif Condensed" size="13" color="#000000" letterSpacing="0.000000" kerning="1">system("ffmpeg -i ".$row[0]." -f flv -s 800x600 ".$date.".flv");</font></p><p align="left"><font face="DejaVu Serif Condensed" size="13" color="#000000" letterSpacing="0.000000" kerning="1">system("ffmpeg -i ".$row[0]." -y -ss 5 -t 0.01 -f mjpeg ".$date.".jpg");</font></p><p align="left"><font face="DejaVu Serif Condensed" size="13" color="#000000" letterSpacing="0.000000" kerning="1">system("del ".$date);</font></p><p align="left"></p><p align="left"><font face="DejaVu Serif Condensed" size="13" color="#000000" letterSpacing="0.000000" kerning="1">mysql_query("UPDATE `movie` SET `snap_shot` = '".$date.".jpg' WHERE `date_uploaded` = '".$date."';");</font></p><p align="left"></p><p align="left"><font face="DejaVu Serif Condensed" size="13" color="#000000" letterSpacing="0.000000" kerning="1">?></font></p><p align="left"><font face="DejaVu Serif Condensed" size="13" color="#000000" letterSpacing="0.000000" kerning="1"><script type="text/javascript"></font></p><p align="left"><font face="DejaVu Serif Condensed" size="13" color="#000000" letterSpacing="0.000000" kerning="1">window.location = "index.php?id=<?= $row[1] ?>";</font></p><p align="left"><font face="DejaVu Serif Condensed" size="13" color="#000000" letterSpacing="0.000000" kerning="1"></script></font></p><p align="left"></p><p align="left"></p> |
The style.css page |
Create a file called style.css. Then write this in it: |
<p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">body {</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">background-color: #DCDCDC;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">font-family: Arial, Helvetica, sans-serif;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">font-size: 12px;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">line-height: 24px;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">color: #336699;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">td, th {</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">font-family: Arial, Helvetica, sans-serif;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">font-size: 12px;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">line-height: 24px;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">color: #333333;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">a {</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">color: #3366CC;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">text-decoration: none;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">form {</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">background-color: #CCCC99;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">.title {</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">font-family: Arial, Helvetica, sans-serif;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1"> font-size: 24px;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">line-height: 30px;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1"> background-color: #006666;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">color: #DCDCDC;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">.subtitle {</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">font-family: Arial, Helvetica, sans-serif;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">font-size: 16px;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">line-height: 22px;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">font-weight: bold;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1"> color: #006666;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">.header {</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">font-family: Arial, Helvetica, sans-serif;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">font-size: 24px;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">background-color: #006666;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1"> color: #DCDCDC;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">.nav {</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">font-family: Arial, Helvetica, sans-serif;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">font-size: 14px;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1"> font-weight: bold;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">background-color: #CCCCCC;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">.navLink {</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">font-family: Arial, Helvetica, sans-serif;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">font-size: 14px;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">font-weight: bold;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">background-color: #DEDECA;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">.sidebar {</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">font-family: Arial, Helvetica, sans-serif;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">font-size: 12px;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">line-height: 18px;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">padding: 3px;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">background-color: #FFFFFF;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">.sidebarHeader {</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">font-family: Arial, Helvetica, sans-serif;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">font-size: 16px;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">line-height: 24px;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">color: #FFFFFF;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">background-color: #339999;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">.sidebarFooter {</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">font-family: Arial, Helvetica, sans-serif;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">font-size: 12px;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">line-height: 18px;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">background-color: #CCCCCC;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">.footer {</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1"> font-family: Arial, Helvetica, sans-serif;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">font-size: 14px;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">font-weight: bold;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">line-height: 22px;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">color: #333333;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">background-color: #CCCCCC;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">.legal {</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">font-family: Arial, Helvetica, sans-serif;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">font-size: 9px;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">color: #333333;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">.box1 {</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">border-color: #CCCCCC #333333 #333333 #CCCCCC;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">border-width: medium;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1"> border-style: ridge;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">.promo {</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">font-family: "Times New Roman", Times, serif;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">color: #000033;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">.titlebar {</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">font-family: "Times New Roman", Times, serif;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">font-size: 9px;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">color: #FFFFFF;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1"> background-color: #336699;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">.dingbat {</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">font-family: Arial, Helvetica, sans-serif;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">background-color: #99CC99;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1"> color: #006666; </font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">font-weight: bolder;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">font-size: medium;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">a:hover {</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">text-decoration: underline;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">input.big {</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">width: 100px;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">input.small {</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">width: 50px;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">a.h1:link {</font></p><p align="left"><font face="DejaVu Serif Condensed" size="1" color="#000000" letterSpacing="0.000000" kerning="1">background-image:</font></p> |
The rate.php page |
Create a file called rate.php. Then write this in it: |
<p align="left"><font face="DejaVu Serif Condensed" size="5" color="#000000" letterSpacing="0.000000" kerning="1"><?php</font></p><p align="left"><font face="DejaVu Serif Condensed" size="5" color="#000000" letterSpacing="0.000000" kerning="1">$id = $_GET["id"];</font></p><p align="left"><font face="DejaVu Serif Condensed" size="5" color="#000000" letterSpacing="0.000000" kerning="1">mysql_connect("localhost", "root", "your_password");</font></p><p align="left"><font face="DejaVu Serif Condensed" size="5" color="#000000" letterSpacing="0.000000" kerning="1">mysql_select_db("portal");</font></p><p align="left"></p><p align="left"></p><p align="left"><font face="DejaVu Serif Condensed" size="5" color="#000000" letterSpacing="0.000000" kerning="1">$result = mysql_query("SELECT * FROM `movie_scores` WHERE `movie_id` = '".$id."';");</font></p><p align="left"><font face="DejaVu Serif Condensed" size="5" color="#000000" letterSpacing="0.000000" kerning="1">$row = mysql_fetch_row($result);</font></p><p align="left"></p><p align="left"><font face="DejaVu Serif Condensed" size="5" color="#000000" letterSpacing="0.000000" kerning="1">if($_POST["vote"] == "1 - THIS SUCKS!!!"){</font></p><p align="left"><font face="DejaVu Serif Condensed" size="5" color="#000000" letterSpacing="0.000000" kerning="1">$vote = 5;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="5" color="#000000" letterSpacing="0.000000" kerning="1">$score = $row[2] - ($vote / $row[0]);</font></p><p align="left"><font face="DejaVu Serif Condensed" size="5" color="#000000" letterSpacing="0.000000" kerning="1">$results = " the movie was lowered by: ".$vote / $row[0].".";</font></p><p align="left"><font face="DejaVu Serif Condensed" size="5" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"></p><p align="left"><font face="DejaVu Serif Condensed" size="5" color="#000000" letterSpacing="0.000000" kerning="1">if($_POST["vote"] == "2 - BAD"){</font></p><p align="left"><font face="DejaVu Serif Condensed" size="5" color="#000000" letterSpacing="0.000000" kerning="1">$vote = 3;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="5" color="#000000" letterSpacing="0.000000" kerning="1">$score = $row[2] - ($vote / $row[0]);</font></p><p align="left"><font face="DejaVu Serif Condensed" size="5" color="#000000" letterSpacing="0.000000" kerning="1">$results = " the movie was lowered by: ".$vote / $row[0].".";</font></p><p align="left"><font face="DejaVu Serif Condensed" size="5" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"></p><p align="left"><font face="DejaVu Serif Condensed" size="5" color="#000000" letterSpacing="0.000000" kerning="1">if($_POST["vote"] == "3 - Not Bad :)"){</font></p><p align="left"><font face="DejaVu Serif Condensed" size="5" color="#000000" letterSpacing="0.000000" kerning="1">$vote = 3;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="5" color="#000000" letterSpacing="0.000000" kerning="1">$score = $row[2] + ($vote / $row[0]);</font></p><p align="left"><font face="DejaVu Serif Condensed" size="5" color="#000000" letterSpacing="0.000000" kerning="1">if(($score + $row[2]) >= 5){</font></p><p align="left"><font face="DejaVu Serif Condensed" size="5" color="#000000" letterSpacing="0.000000" kerning="1">$score = 5.00;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="5" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="DejaVu Serif Condensed" size="5" color="#000000" letterSpacing="0.000000" kerning="1">$results = " the movie was raised by: ".$vote / $row[0].".";</font></p><p align="left"><font face="DejaVu Serif Condensed" size="5" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"></p><p align="left"><font face="DejaVu Serif Condensed" size="5" color="#000000" letterSpacing="0.000000" kerning="1">if($_POST["vote"] == "4 - Nice!"){</font></p><p align="left"><font face="DejaVu Serif Condensed" size="5" color="#000000" letterSpacing="0.000000" kerning="1">$vote = 4;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="5" color="#000000" letterSpacing="0.000000" kerning="1">$score = $row[2] + ($vote / $row[0]);</font></p><p align="left"><font face="DejaVu Serif Condensed" size="5" color="#000000" letterSpacing="0.000000" kerning="1">if(($score + $row[2]) >= 5){</font></p><p align="left"><font face="DejaVu Serif Condensed" size="5" color="#000000" letterSpacing="0.000000" kerning="1">$score = 5.00;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="5" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="DejaVu Serif Condensed" size="5" color="#000000" letterSpacing="0.000000" kerning="1">$results = " the movie was raised by: ".$vote / $row[0].".";</font></p><p align="left"><font face="DejaVu Serif Condensed" size="5" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"></p><p align="left"><font face="DejaVu Serif Condensed" size="5" color="#000000" letterSpacing="0.000000" kerning="1">if($_POST["vote"] == "5 - Best Clip Ever!!!"){</font></p><p align="left"><font face="DejaVu Serif Condensed" size="5" color="#000000" letterSpacing="0.000000" kerning="1">$vote = 5;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="5" color="#000000" letterSpacing="0.000000" kerning="1">$score = $row[2] + ($vote / $row[0]);</font></p><p align="left"><font face="DejaVu Serif Condensed" size="5" color="#000000" letterSpacing="0.000000" kerning="1">$results = " the movie was raised by: ".$vote / $row[0].".";</font></p><p align="left"><font face="DejaVu Serif Condensed" size="5" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"></p><p align="left"></p><p align="left"><font face="DejaVu Serif Condensed" size="5" color="#000000" letterSpacing="0.000000" kerning="1">mysql_query("UPDATE `movie_scores` SET `votes` = votes + 1 WHERE `movie_id` = '".$id."';");</font></p><p align="left"><font face="DejaVu Serif Condensed" size="5" color="#000000" letterSpacing="0.000000" kerning="1">mysql_query("UPDATE `movie_scores` SET `score` = '".$score."' WHERE `movie_id` = '".$id."';");</font></p><p align="left"><font face="DejaVu Serif Condensed" size="5" color="#000000" letterSpacing="0.000000" kerning="1">?></font></p><p align="left"><font face="DejaVu Serif Condensed" size="5" color="#000000" letterSpacing="0.000000" kerning="1"><script language="Javascript"></font></p><p align="left"></p><p align="left"><font face="DejaVu Serif Condensed" size="5" color="#000000" letterSpacing="0.000000" kerning="1"><!--</font></p><p align="left"><font face="DejaVu Serif Condensed" size="5" color="#000000" letterSpacing="0.000000" kerning="1">// please keep these lines on when you copy the source</font></p><p align="left"><font face="DejaVu Serif Condensed" size="5" color="#000000" letterSpacing="0.000000" kerning="1">// made by: Nicolas - http://www.javascript-page.com</font></p><p align="left"></p><p align="left"><font face="DejaVu Serif Condensed" size="5" color="#000000" letterSpacing="0.000000" kerning="1">alert ("The score is now <?= $score ?><?= $resluts ?>")</font></p><p align="left"><font face="DejaVu Serif Condensed" size="5" color="#000000" letterSpacing="0.000000" kerning="1">//--></font></p><p align="left"><font face="DejaVu Serif Condensed" size="5" color="#000000" letterSpacing="0.000000" kerning="1">window.location.href = "index.php?id=<?= $id ?>";</font></p><p align="left"><font face="DejaVu Serif Condensed" size="5" color="#000000" letterSpacing="0.000000" kerning="1"></script></font></p><p align="left"></p> |
The add_comment.php page |
Create a file called add_comment.php. Then write this in it: |
<p align="left"><font face="DejaVu Serif Condensed" size="13" color="#000000" letterSpacing="0.000000" kerning="1"><?php</font></p><p align="left"><font face="DejaVu Serif Condensed" size="13" color="#000000" letterSpacing="0.000000" kerning="1">$name = $_POST["name"];</font></p><p align="left"><font face="DejaVu Serif Condensed" size="13" color="#000000" letterSpacing="0.000000" kerning="1">$date = date("d/m/Y");</font></p><p align="left"><font face="DejaVu Serif Condensed" size="13" color="#000000" letterSpacing="0.000000" kerning="1">$comment = $_POST["comment"];</font></p><p align="left"><font face="DejaVu Serif Condensed" size="13" color="#000000" letterSpacing="0.000000" kerning="1">$movie_id = $_GET["id"];</font></p><p align="left"><font face="DejaVu Serif Condensed" size="13" color="#000000" letterSpacing="0.000000" kerning="1">$email = $_POST["email"];</font></p><p align="left"><font face="DejaVu Serif Condensed" size="13" color="#000000" letterSpacing="0.000000" kerning="1">$homepage = $_POST["homepage"];</font></p><p align="left"><font face="DejaVu Serif Condensed" size="13" color="#000000" letterSpacing="0.000000" kerning="1">mysql_connect("10.0.0.4:3309", "lars", "a99312245");</font></p><p align="left"><font face="DejaVu Serif Condensed" size="13" color="#000000" letterSpacing="0.000000" kerning="1">mysql_select_db("comments");</font></p><p align="left"><font face="DejaVu Serif Condensed" size="13" color="#000000" letterSpacing="0.000000" kerning="1">if(!mysql_query("INSERT INTO `comments` (`name`, `date`, `comment`, `movie_id`, `email`, `wesite`) VALUES ('".$name."','".$date."','".$comment."','".$movie_id."', '".$email."', '".$homepage."')")){</font></p><p align="left"><font face="DejaVu Serif Condensed" size="13" color="#000000" letterSpacing="0.000000" kerning="1">die(mysql_error());</font></p><p align="left"><font face="DejaVu Serif Condensed" size="13" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="DejaVu Serif Condensed" size="13" color="#000000" letterSpacing="0.000000" kerning="1">?></font></p><p align="left"><font face="DejaVu Serif Condensed" size="13" color="#000000" letterSpacing="0.000000" kerning="1"><script type="text/javascript"></font></p><p align="left"><font face="DejaVu Serif Condensed" size="13" color="#000000" letterSpacing="0.000000" kerning="1">window.location.href = "index.php?id=<?= $movie_id ?>";</font></p><p align="left"><font face="DejaVu Serif Condensed" size="13" color="#000000" letterSpacing="0.000000" kerning="1"></script></font></p> |
The search.php page |
Create a file called search.php. Then write this in it: |
<p align="left"><font face="DejaVu Serif Condensed" size="13" color="#000000" letterSpacing="0.000000" kerning="1"><form action="search_result.php" method="post" enctype="multipart/form-data"></font></p><p align="left"><font face="DejaVu Serif Condensed" size="13" color="#000000" letterSpacing="0.000000" kerning="1"><input type="text" name="search_text" />&nbsp;&nbsp;</font></p><p align="left"><font face="DejaVu Serif Condensed" size="13" color="#000000" letterSpacing="0.000000" kerning="1"><input type="submit" name="submit" value="Search For -->" /></font></p><p align="left"><font face="DejaVu Serif Condensed" size="13" color="#000000" letterSpacing="0.000000" kerning="1"></form></font></p><p align="left"></p> |
The search_result.php page |
Create a file called search_result.php. Then write this in it: |
<p align="left"><font face="DejaVu Serif Condensed" size="13" color="#000000" letterSpacing="0.000000" kerning="1"><?php</font></p><p align="left"><font face="DejaVu Serif Condensed" size="13" color="#000000" letterSpacing="0.000000" kerning="1">$search_text = $_POST["search_text"];</font></p><p align="left"></p><p align="left"><font face="DejaVu Serif Condensed" size="13" color="#000000" letterSpacing="0.000000" kerning="1">if($search_text == ''){</font></p><p align="left"><font face="DejaVu Serif Condensed" size="13" color="#000000" letterSpacing="0.000000" kerning="1">die('Please go back and enter a value into the search textbox');</font></p><p align="left"><font face="DejaVu Serif Condensed" size="13" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"></p><p align="left"><font face="DejaVu Serif Condensed" size="13" color="#000000" letterSpacing="0.000000" kerning="1">if(!mysql_connect("localhost", "root", "your_password")){</font></p><p align="left"><font face="DejaVu Serif Condensed" size="13" color="#000000" letterSpacing="0.000000" kerning="1">die(mysql_error());</font></p><p align="left"><font face="DejaVu Serif Condensed" size="13" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"></p><p align="left"><font face="DejaVu Serif Condensed" size="13" color="#000000" letterSpacing="0.000000" kerning="1">if(!mysql_select_db("portal")){</font></p><p align="left"><font face="DejaVu Serif Condensed" size="13" color="#000000" letterSpacing="0.000000" kerning="1">die(mysql_error());</font></p><p align="left"><font face="DejaVu Serif Condensed" size="13" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"></p><p align="left"><font face="DejaVu Serif Condensed" size="13" color="#000000" letterSpacing="0.000000" kerning="1">$result = mysql_query("SELECT * FROM `movie` WHERE `title` LIKE CONVERT( _utf8 '%".$search_text."%' USING latin1 ) COLLATE latin1_swedish_ci OR `description` LIKE CONVERT( _utf8 '%".$search_text."%' USING latin1 ) COLLATE latin1_swedish_ci LIMIT 0 , 30");</font></p><p align="left"><font face="DejaVu Serif Condensed" size="13" color="#000000" letterSpacing="0.000000" kerning="1">while ($row = mysql_fetch_array($result, MYSQL_ASSOC)){</font></p><p align="left"><font face="DejaVu Serif Condensed" size="13" color="#000000" letterSpacing="0.000000" kerning="1">echo ("<table width='200' border='1'><tr><td><p>".$row['title']."</p><p><a href='index.php?id=".$row['ID']."'><img src='".$row['date_uploaded'].".jpg' width='200' height='200' ></a></p></td></tr></table>");</font></p><p align="left"><font face="DejaVu Serif Condensed" size="13" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="DejaVu Serif Condensed" size="13" color="#000000" letterSpacing="0.000000" kerning="1">?></font></p><p align="left"></p> |
The ./comment/include/ page |
Create a new folder inside the folder /comment/. Then create a new file with the name mysql_connect.php. Then write this inside it. |
<p align="left"><font face="DejaVu Serif Condensed" size="13" color="#000000" letterSpacing="0.000000" kerning="1"><?</font></p><p align="left"><font face="DejaVu Serif Condensed" size="13" color="#000000" letterSpacing="0.000000" kerning="1">if(!mysql_connect("localhost", "root", "your_password")){</font></p><p align="left"><font face="DejaVu Serif Condensed" size="13" color="#000000" letterSpacing="0.000000" kerning="1">die(mysql_error());</font></p><p align="left"><font face="DejaVu Serif Condensed" size="13" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"></p><p align="left"><font face="DejaVu Serif Condensed" size="13" color="#000000" letterSpacing="0.000000" kerning="1">if(!mysql_select_db("comments")){</font></p><p align="left"><font face="DejaVu Serif Condensed" size="13" color="#000000" letterSpacing="0.000000" kerning="1">die(mysql_error());</font></p><p align="left"><font face="DejaVu Serif Condensed" size="13" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="DejaVu Serif Condensed" size="13" color="#000000" letterSpacing="0.000000" kerning="1">?></font></p> |
The FFMPEG Converter: |
The ffmpeg converter is the .exe file that converts the normal movie filed into .flv files so that the flash media player can read it.(we will check that one out in the next chapter. |
Download the ffmpeg |
<p align="left"><font face="Hobo Std" size="20" color="#0033ff" letterSpacing="0.000000" kerning="1"><a href="http://ffdshow.faireal.net/mirror/ffmpeg/ffmpeg.rev12665.7z" target = "_blank">HERE</a></font></p> |
After you have downloaded it you should only extract the ffmpeg.exe to the place where you have your other .php files. also the sam directory as your video tube is in. |
The Flash media player... |
The Flash media player plays your movies: |
Download the Flash Media Player |
<p align="left"><font face="Hobo Std" size="20" color="#0033ff" letterSpacing="0.000000" kerning="1"><a href="http://www.jeroenwijering.com/?page=thankyou&file=mediaplayer-3-16.zip" target = "_blank">HERE</a></font></p> |
After you have downloaded it you should only extract the all the files to the place where you have your other .php files. also the same directory as your video tube is in. the media player sould not lie in a folder above the ./ dir it should lie in the same spot as all the other files. |
And you're Done! |
Hope You all liked this tutorial :) |
again? |
ActionScript [AS1/AS2]
Frame 5stop();Frame 6stop();Frame 7stop();Frame 8stop();Frame 9stop();Frame 10stop();Frame 11stop();Frame 12stop();Frame 13stop();Frame 14stop();Frame 15stop();Frame 16stop();Frame 17stop();Frame 18stop();Frame 19stop();Frame 20stop();Frame 21stop();Frame 22stop();Frame 23play();Frame 39stop();Symbol 14 MovieClip Frame 1_root.stop(); PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100; if (PercentLoaded != 100) { bar._yscale = PercentLoaded; } else { gotoAndPlay ("LOADED"); }Symbol 14 MovieClip Frame 2gotoAndPlay (1);Symbol 14 MovieClip Frame 75_root.play();Symbol 30 MovieClip Frame 9stop();Symbol 33 MovieClip Frame 10stop();Symbol 35 MovieClip Frame 8stop();Symbol 36 MovieClip Frame 9stop();Symbol 37 Buttonon (release) { gotoAndStop (6); }Symbol 39 Buttonon (release) { gotoAndStop (6); }Symbol 41 Buttonon (release) { gotoAndStop (7); }Symbol 43 Buttonon (release) { gotoAndStop (8); }Symbol 45 Buttonon (release) { gotoAndStop (9); }Symbol 47 Buttonon (release) { gotoAndStop (12); }Symbol 49 Buttonon (release) { gotoAndStop (13); }Symbol 51 Buttonon (release) { gotoAndStop (14); }Symbol 53 Buttonon (release) { gotoAndStop (15); }Symbol 55 Buttonon (release) { gotoAndStop (16); }Symbol 57 Buttonon (release) { gotoAndStop (17); }Symbol 59 Buttonon (release) { gotoAndStop (18); }Symbol 61 Buttonon (release) { gotoAndStop (19); }Symbol 63 Buttonon (release) { gotoAndStop (20); }Symbol 65 Buttonon (release) { gotoAndStop (21); }Symbol 67 Buttonon (release) { gotoAndStop (22); }Symbol 70 Buttonon (release) { gotoAndStop (7); }Symbol 81 MovieClip Frame 7stop();Symbol 82 Buttonon (release) { gotoAndStop (5); }Symbol 85 Buttonon (release) { gotoAndStop (8); }Symbol 88 Buttonon (release) { gotoAndStop (6); }Symbol 91 Buttonon (release) { gotoAndStop (9); }Symbol 95 Buttonon (release) { gotoAndStop (7); }Symbol 98 Buttonon (release) { gotoAndStop (10); }Symbol 101 Buttonon (release) { gotoAndStop (8); }Symbol 103 Buttonon (release) { gotoAndStop (11); }Symbol 106 Buttonon (release) { gotoAndStop (9); }Symbol 108 Buttonon (release) { gotoAndStop (12); }Symbol 111 Buttonon (release) { gotoAndStop (10); }Symbol 114 Buttonon (release) { gotoAndStop (13); }Symbol 116 Buttonon (release) { gotoAndStop (11); }Symbol 119 Buttonon (release) { gotoAndStop (14); }Symbol 121 Buttonon (release) { gotoAndStop (12); }Symbol 124 Buttonon (release) { gotoAndStop (15); }Symbol 126 Buttonon (release) { gotoAndStop (13); }Symbol 129 Buttonon (release) { gotoAndStop (16); }Symbol 131 Buttonon (release) { gotoAndStop (14); }Symbol 134 Buttonon (release) { gotoAndStop (17); }Symbol 136 Buttonon (release) { gotoAndStop (15); }Symbol 139 Buttonon (release) { gotoAndStop (18); }Symbol 141 Buttonon (release) { gotoAndStop (16); }Symbol 144 Buttonon (release) { gotoAndStop (19); }Symbol 146 Buttonon (release) { gotoAndStop (17); }Symbol 149 Buttonon (release) { gotoAndStop (20); }Symbol 151 Buttonon (release) { gotoAndStop (18); }Symbol 154 Buttonon (release) { gotoAndStop (21); }Symbol 156 Buttonon (release) { gotoAndStop (19); }Symbol 158 Buttonon (release) { gotoAndStop (22); }Symbol 163 Buttonon (release) { gotoAndStop (20); }Symbol 165 Buttonon (release) { gotoAndPlay (23); }Symbol 170 Buttonon (release) { gotoAndStop (21); }
Library Items
Symbol 1 Graphic | Used by:2 | |
Symbol 2 MovieClip | Uses:1 | Used by:14 |
Symbol 3 Graphic | Used by:14 | |
Symbol 4 Graphic | Used by:5 | |
Symbol 5 MovieClip | Uses:4 | Used by:14 |
Symbol 6 Graphic | Used by:7 | |
Symbol 7 MovieClip | Uses:6 | Used by:8 |
Symbol 8 MovieClip | Uses:7 | Used by:14 |
Symbol 9 Graphic | Used by:10 | |
Symbol 10 MovieClip | Uses:9 | Used by:14 |
Symbol 11 Graphic | Used by:12 | |
Symbol 12 MovieClip | Uses:11 | Used by:14 |
Symbol 13 Sound | Used by:14 | |
Symbol 14 MovieClip | Uses:2 3 5 8 10 12 13 SS1 | Used by:Timeline |
Symbol 15 Sound | Used by:Timeline | |
Symbol 16 Font | Used by:17 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 83 89 96 112 117 122 127 132 137 142 147 152 157 159 160 161 162 164 166 167 168 169 171 174 176 | |
Symbol 17 Text | Uses:16 | Used by:Timeline |
Symbol 18 Font | Used by:19 20 69 71 72 73 84 86 87 90 92 93 94 97 99 100 102 104 105 107 109 110 113 115 118 120 123 125 128 130 133 135 138 140 143 145 148 150 153 155 | |
Symbol 19 Text | Uses:18 | Used by:Timeline |
Symbol 20 Text | Uses:18 | Used by:Timeline |
Symbol 21 Graphic | Used by:22 37 70 85 91 98 103 108 114 119 124 129 134 139 144 149 154 158 165 | |
Symbol 22 MovieClip | Uses:21 | Used by:37 70 85 91 98 103 108 114 119 124 129 134 139 144 149 154 158 165 |
Symbol 23 Graphic | Used by:30 | |
Symbol 24 Graphic | Used by:30 35 | |
Symbol 25 Graphic | Used by:30 35 | |
Symbol 26 Graphic | Used by:30 35 | |
Symbol 27 Graphic | Used by:30 35 | |
Symbol 28 Graphic | Used by:30 35 | |
Symbol 29 Graphic | Used by:30 35 | |
Symbol 30 MovieClip | Uses:23 24 25 26 27 28 29 | Used by:37 70 85 91 98 103 108 114 119 124 129 134 139 144 149 154 158 165 |
Symbol 31 Font | Used by:32 | |
Symbol 32 Text | Uses:31 | Used by:33 36 |
Symbol 33 MovieClip | Uses:32 | Used by:37 70 85 91 98 103 108 114 119 124 129 134 139 144 149 154 158 165 |
Symbol 34 Graphic | Used by:35 | |
Symbol 35 MovieClip | Uses:29 28 27 26 25 24 34 | Used by:37 70 85 91 98 103 108 114 119 124 129 134 139 144 149 154 158 165 |
Symbol 36 MovieClip | Uses:32 | Used by:37 70 85 91 98 103 108 114 119 124 129 134 139 144 149 154 158 165 |
Symbol 37 Button | Uses:22 30 33 35 36 21 | Used by:Timeline |
Symbol 38 Text | Uses:16 | Used by:39 |
Symbol 39 Button | Uses:38 | Used by:Timeline |
Symbol 40 Text | Uses:16 | Used by:41 |
Symbol 41 Button | Uses:40 | Used by:Timeline |
Symbol 42 Text | Uses:16 | Used by:43 |
Symbol 43 Button | Uses:42 | Used by:Timeline |
Symbol 44 Text | Uses:16 | Used by:45 |
Symbol 45 Button | Uses:44 | Used by:Timeline |
Symbol 46 Text | Uses:16 | Used by:47 |
Symbol 47 Button | Uses:46 | Used by:Timeline |
Symbol 48 Text | Uses:16 | Used by:49 |
Symbol 49 Button | Uses:48 | Used by:Timeline |
Symbol 50 Text | Uses:16 | Used by:51 |
Symbol 51 Button | Uses:50 | Used by:Timeline |
Symbol 52 Text | Uses:16 | Used by:53 |
Symbol 53 Button | Uses:52 | Used by:Timeline |
Symbol 54 Text | Uses:16 | Used by:55 |
Symbol 55 Button | Uses:54 | Used by:Timeline |
Symbol 56 Text | Uses:16 | Used by:57 |
Symbol 57 Button | Uses:56 | Used by:Timeline |
Symbol 58 Text | Uses:16 | Used by:59 |
Symbol 59 Button | Uses:58 | Used by:Timeline |
Symbol 60 Text | Uses:16 | Used by:61 |
Symbol 61 Button | Uses:60 | Used by:Timeline |
Symbol 62 Text | Uses:16 | Used by:63 |
Symbol 63 Button | Uses:62 | Used by:Timeline |
Symbol 64 Text | Uses:16 | Used by:65 |
Symbol 65 Button | Uses:64 | Used by:Timeline |
Symbol 66 Text | Uses:16 | Used by:67 |
Symbol 67 Button | Uses:66 | Used by:Timeline |
Symbol 68 Text | Uses:16 | Used by:Timeline |
Symbol 69 Text | Uses:18 | Used by:Timeline |
Symbol 70 Button | Uses:22 30 33 35 36 21 | Used by:Timeline |
Symbol 71 EditableText | Uses:18 | Used by:Timeline |
Symbol 72 EditableText | Uses:18 | Used by:Timeline |
Symbol 73 Text | Uses:18 | Used by:Timeline |
Symbol 74 Graphic | Used by:75 81 82 88 95 101 106 111 116 121 126 131 136 141 146 151 156 163 170 | |
Symbol 75 MovieClip | Uses:74 | Used by:82 88 95 101 106 111 116 121 126 131 136 141 146 151 156 163 170 |
Symbol 76 Graphic | Used by:77 | |
Symbol 77 MovieClip | Uses:76 | Used by:82 88 95 101 106 111 116 121 126 131 136 141 146 151 156 163 170 |
Symbol 78 Graphic | Used by:81 | |
Symbol 79 Graphic | Used by:81 | |
Symbol 80 Graphic | Used by:81 | |
Symbol 81 MovieClip | Uses:74 78 79 80 | Used by:82 88 95 101 106 111 116 121 126 131 136 141 146 151 156 163 170 |
Symbol 82 Button | Uses:75 77 81 74 | Used by:Timeline |
Symbol 83 Text | Uses:16 | Used by:Timeline |
Symbol 84 Text | Uses:18 | Used by:Timeline |
Symbol 85 Button | Uses:22 30 33 35 36 21 | Used by:Timeline |
Symbol 86 EditableText | Uses:18 | Used by:Timeline |
Symbol 87 Text | Uses:18 | Used by:Timeline |
Symbol 88 Button | Uses:75 77 81 74 | Used by:Timeline |
Symbol 89 Text | Uses:16 | Used by:Timeline |
Symbol 90 Text | Uses:18 | Used by:Timeline |
Symbol 91 Button | Uses:22 30 33 35 36 21 | Used by:Timeline |
Symbol 92 EditableText | Uses:18 | Used by:Timeline |
Symbol 93 Text | Uses:18 | Used by:Timeline |
Symbol 94 Text | Uses:18 | Used by:Timeline |
Symbol 95 Button | Uses:75 77 81 74 | Used by:Timeline |
Symbol 96 Text | Uses:16 | Used by:Timeline |
Symbol 97 Text | Uses:18 | Used by:Timeline |
Symbol 98 Button | Uses:22 30 33 35 36 21 | Used by:Timeline |
Symbol 99 EditableText | Uses:18 | Used by:Timeline |
Symbol 100 Text | Uses:18 | Used by:Timeline |
Symbol 101 Button | Uses:75 77 81 74 | Used by:Timeline |
Symbol 102 Text | Uses:18 | Used by:Timeline |
Symbol 103 Button | Uses:22 30 33 35 36 21 | Used by:Timeline |
Symbol 104 EditableText | Uses:18 | Used by:Timeline |
Symbol 105 Text | Uses:18 | Used by:Timeline |
Symbol 106 Button | Uses:75 77 81 74 | Used by:Timeline |
Symbol 107 Text | Uses:18 | Used by:Timeline |
Symbol 108 Button | Uses:22 30 33 35 36 21 | Used by:Timeline |
Symbol 109 EditableText | Uses:18 | Used by:Timeline |
Symbol 110 Text | Uses:18 | Used by:Timeline |
Symbol 111 Button | Uses:75 77 81 74 | Used by:Timeline |
Symbol 112 Text | Uses:16 | Used by:Timeline |
Symbol 113 Text | Uses:18 | Used by:Timeline |
Symbol 114 Button | Uses:22 30 33 35 36 21 | Used by:Timeline |
Symbol 115 EditableText | Uses:18 | Used by:Timeline |
Symbol 116 Button | Uses:75 77 81 74 | Used by:Timeline |
Symbol 117 Text | Uses:16 | Used by:Timeline |
Symbol 118 Text | Uses:18 | Used by:Timeline |
Symbol 119 Button | Uses:22 30 33 35 36 21 | Used by:Timeline |
Symbol 120 EditableText | Uses:18 | Used by:Timeline |
Symbol 121 Button | Uses:75 77 81 74 | Used by:Timeline |
Symbol 122 Text | Uses:16 | Used by:Timeline |
Symbol 123 Text | Uses:18 | Used by:Timeline |
Symbol 124 Button | Uses:22 30 33 35 36 21 | Used by:Timeline |
Symbol 125 EditableText | Uses:18 | Used by:Timeline |
Symbol 126 Button | Uses:75 77 81 74 | Used by:Timeline |
Symbol 127 Text | Uses:16 | Used by:Timeline |
Symbol 128 Text | Uses:18 | Used by:Timeline |
Symbol 129 Button | Uses:22 30 33 35 36 21 | Used by:Timeline |
Symbol 130 EditableText | Uses:18 | Used by:Timeline |
Symbol 131 Button | Uses:75 77 81 74 | Used by:Timeline |
Symbol 132 Text | Uses:16 | Used by:Timeline |
Symbol 133 Text | Uses:18 | Used by:Timeline |
Symbol 134 Button | Uses:22 30 33 35 36 21 | Used by:Timeline |
Symbol 135 EditableText | Uses:18 | Used by:Timeline |
Symbol 136 Button | Uses:75 77 81 74 | Used by:Timeline |
Symbol 137 Text | Uses:16 | Used by:Timeline |
Symbol 138 Text | Uses:18 | Used by:Timeline |
Symbol 139 Button | Uses:22 30 33 35 36 21 | Used by:Timeline |
Symbol 140 EditableText | Uses:18 | Used by:Timeline |
Symbol 141 Button | Uses:75 77 81 74 | Used by:Timeline |
Symbol 142 Text | Uses:16 | Used by:Timeline |
Symbol 143 Text | Uses:18 | Used by:Timeline |
Symbol 144 Button | Uses:22 30 33 35 36 21 | Used by:Timeline |
Symbol 145 EditableText | Uses:18 | Used by:Timeline |
Symbol 146 Button | Uses:75 77 81 74 | Used by:Timeline |
Symbol 147 Text | Uses:16 | Used by:Timeline |
Symbol 148 Text | Uses:18 | Used by:Timeline |
Symbol 149 Button | Uses:22 30 33 35 36 21 | Used by:Timeline |
Symbol 150 EditableText | Uses:18 | Used by:Timeline |
Symbol 151 Button | Uses:75 77 81 74 | Used by:Timeline |
Symbol 152 Text | Uses:16 | Used by:Timeline |
Symbol 153 Text | Uses:18 | Used by:Timeline |
Symbol 154 Button | Uses:22 30 33 35 36 21 | Used by:Timeline |
Symbol 155 EditableText | Uses:18 | Used by:Timeline |
Symbol 156 Button | Uses:75 77 81 74 | Used by:Timeline |
Symbol 157 Text | Uses:16 | Used by:Timeline |
Symbol 158 Button | Uses:22 30 33 35 36 21 | Used by:Timeline |
Symbol 159 Text | Uses:16 | Used by:Timeline |
Symbol 160 Text | Uses:16 | Used by:Timeline |
Symbol 161 EditableText | Uses:16 | Used by:Timeline |
Symbol 162 Text | Uses:16 | Used by:Timeline |
Symbol 163 Button | Uses:75 77 81 74 | Used by:Timeline |
Symbol 164 Text | Uses:16 | Used by:Timeline |
Symbol 165 Button | Uses:22 30 33 35 36 21 | Used by:Timeline |
Symbol 166 Text | Uses:16 | Used by:Timeline |
Symbol 167 Text | Uses:16 | Used by:Timeline |
Symbol 168 EditableText | Uses:16 | Used by:Timeline |
Symbol 169 Text | Uses:16 | Used by:Timeline |
Symbol 170 Button | Uses:75 77 81 74 | Used by:Timeline |
Symbol 171 Text | Uses:16 | Used by:172 |
Symbol 172 MovieClip | Uses:171 | Used by:Timeline |
Symbol 173 Sound | Used by:Timeline | |
Symbol 174 Text | Uses:16 | Used by:175 |
Symbol 175 MovieClip | Uses:174 | Used by:Timeline |
Symbol 176 Text | Uses:16 | Used by:Timeline |
Streaming Sound 1 | Used by:Symbol 14 MovieClip |
Instance Names
"bar" | Symbol 14 MovieClip Frame 1 | Symbol 5 MovieClip |
Special Tags
FileAttributes (69) | Timeline Frame 1 | Access local files only, Metadata not present, AS1/AS2. |
Labels
"LOADED" | Symbol 14 MovieClip Frame 5 |
|