rejetto forum

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - crazyjust

Pages: 1 2 3
1
RAWR-Designs / How would I edit this?
« on: January 10, 2010, 09:21:38 PM »
I am using rawr tpl and I was curious how I could edit the text of the js popup box at login that says:

A username and password are being requested by http://96.243.98.103:8080. The site says: "WRT54G"

Thanks in advance

2
RAWR-Designs / Re: Can someone help me with the rawr player?
« on: December 27, 2008, 01:37:55 AM »
Does anyone know about php and js that can help me with this here? I have searched, tried several things, and failed lol

3
Everything else / Re: Merry Christmas
« on: December 26, 2008, 10:48:37 PM »
Hope you all had a good christmas. Hope you have a good new year also, but who's rushing it lol :P

4
RAWR-Designs / Re: Can someone help me with the rawr player?
« on: December 26, 2008, 05:44:23 PM »
Thank you for the reply tsg. I had a guy look at your rawr tpl, and he was really impressed. He said the player actually comes up in a new window but it is styled with a hell of alot of js to make it look like that. He didnt know where to begin lol. It is really nice work.

5
RAWR-Designs / Can someone help me with the rawr player?
« on: December 25, 2008, 08:51:24 PM »
Merry Christmas all :) ...Ok so here it is. I made a custom page for e107 cms. I have the player Stationary. When I click preview, the player wont start playing with firefox until I scroll up to where the player is in sight. There are no problems with IE. What I would like to do is make the player pop up in a new fancy window like rawr tpl when I hit the preview button. Anyone that has read any of my posts, knows I am not a coder lol. Any help with this would be great. Here is the music.php(index) and player.php if anyone can help me. Thanks in advance.

Music.php(index)
Code: [Select]
require_once("config.php");
require_once("class2.php");
define("e_PAGETITLE", "Music");
require_once(HEADERF);

if (!USER) {
   $ns->tablerender("Error!", "You must login to view this page");
   require_once(FOOTERF);
   exit;
}

?>
<?php
function mksize($bytes)
{
if ($bytes 1000 1024)
return number_format($bytes 10242) . " kB";
elseif ($bytes 1000 1048576)
return number_format($bytes 10485762) . " MB";
elseif ($bytes 1000 1073741824)
return number_format($bytes 10737418242) . " GB";
else
return number_format($bytes 10995116277762) . " TB";
}

function 
getico($type) {
 switch(
strtolower($type)) {
  case 
"mp3": return "mp3.gif"; break;
  case 
"exe":
  case 
"setup":
  case 
"msi": return "exe.gif"; break;
  case 
"zip": return "zip.gif"; break;
  case 
"rar":
  case 
"bin"
  case 
"tar":
  case 
"bz2":
  case 
"gz":
  case 
"z":
  case 
"7z":
  case 
"s7z": return "rar.gif"; break;
  case 
"mpg":
  case 
"mp4":
  case 
"mpeg": return "mp4.gif"; break;
  case 
"avi": return "avi.gif"; break;
  case 
"iso":
  case 
"img"
  case 
"cue": return "iso.gif"; break;
  case 
"vob": return "vob.gif"; break;
    
  default: return 
"unknown.gif"; break;
  }
}

$filedirxtra= (isset($_GET['dir']) ? htmlspecialchars($_GET['dir'])."/" "");
?>


<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 <head>
  <title>Downloads</title>
  <meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8" />
  <style type="text/css">
   body {
    font-family: Verdana, Tahoma, Helvetica, Arial;
    font-size: 10pt;
    background-color: #000000;
    color: #FFFFFF;
    margin: 50px;
   }
   table.list tr td {
    border-bottom: 1px solid orange;
   }
   a {
    text-decoration: none;
   }
   a:hover {
    text-decoration: underline;
   }
   #txtsrch {
    background-image: url("icons/srchico.png");
    background-position: left center;
    background-repeat: no-repeat;
    background-color: #cccccc;
    font-weight: bold;
    font-size: 11pt;
    padding-left: 25px;
    height: 20px;
   }
   #srchbtn {
    background: transparent;
    background-image: url("dl-icons/srchbtn.gif");
    background-position: center center;
    background-repeat: no-repeat;
    height: 25px;
    width: 70px;
    border: none;
   }
  </style>
  <script type="text/javascript">
  function preview(file) {
    var f = document.getElementById('fplayer');
    f.src = "player.php?file="+file;
   }
  </script>
 </head>
<body>


</div>
<!--Nav-->
<div style="padding: 5px; margin: 10px; width: auto; height: 30px; border: 1px solid orange;">
 <!-- Table hack required for IE-->
 <table cellpadding="0" cellspacing="0" border="0" width="auto" style="border: none;">
  <tr>
   <td valign="middle" align="left">
    <form method="get" action="<?php echo $_SERVER['PHP_SELF']; ?>">
     <?php 
      
if ($filedirxtra != "")
       echo 
"<input type='hidden' name='dir' value='".$filedirxtra."' />";
     
?>

     <input id="txtsrch" type="text" size="25" name="search" />
     <input id="srchbtn" type="submit" value=" " />
    </form>
   
 </table>
</div>

<div style="width: auto; margin: 0px; border: none; text-align: center;">
<iframe id="fplayer" frameborder="0" marginwidth="0" marginheight="0" width="320" height="70" src="player.php"></iframe>
</div>

<table class="list" width="auto" cellpadding="3" cellspacing="0" border="0" style="margin: 10px; border: 1px solid orange;">
<?php
$kw 
= (isset($_GET['search']) ? trim($_GET['search']) : "");

$dir opendir($filedir.$filedirxtra);
while(
false !== ($file readdir($dir))) 
 {
 if(
$file != "." && $file != "..")
  {
  
$fext explode("."$file);
  if(!
in_array(end($fext), $blockfiles) && is_file($filedir.$filedirxtra.$file)) {
   if((
$kw != "" preg_match("/$kw/i"$file)) || $kw == "")
    print(
"<tr><td><img src='".$icondir.getico(end($fext))."' title='".end($fext)."' alt='".end($fext)."' border='0'/></td><td width='99%'>".htmlspecialchars($file)."</td><td><span style='white-space: nowrap;'> ".mksize(filesize($filedir.$filedirxtra.$file))."</span></td><td><a href=\"".htmlspecialchars($filedir.$filedirxtra.$file)."\"><img src='".$icondir."download.gif' border='0' alt='DL' title='Download File: ".htmlspecialchars($file)."' /></a></td><td>".(in_array(end($fext), $prvfiles) ? "<a href=\"javascript:void(0);\" onclick=\"preview('".htmlspecialchars(addslashes($filedir.$filedirxtra.$file))."');\"><img src='".$icondir."preview.gif' border='0' alt='Preview' title='Preview File: ".htmlspecialchars($file)."' /></a>" "&nbsp;")."</td></tr>");
   }
  elseif(
is_dir($filedir.$filedirxtra.$file))
    echo 
"<tr><td><img src='".$icondir."directory.gif' alt='directory' border='0' /></td><td colspan='4'><a href='?dir=".$filedirxtra.$file."'>$file</a></td>";
  }
 }
closedir($dir);


?>

</table>

<?php
require_once(FOOTERF);
exit;
?>

Player.php
Code: [Select]
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 <head>
  <title>Player</title>
  <meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8"
 />
  <style type="text/css">
  body { background-color: ; }
  </style>
 </head>
<body>
<?php
$toplay 
stripslashes($_GET['file']);
?>

<object type="application/x-shockwave-flash" data="rawr_player.swf" width="320" height="50">
<param name="movie" value="http://rawr-designs.com/rawr_data/players/rawr_player.swf"/>
<param name="bgcolor" value="#741e1f"/>
<param name="wmode" value="transparent"/>
<param id="flashvars" name="flashvars" value="autoplay=on&colorset=rawr_red&context=off<?php echo "&file=$toplay"?>" />
</object>
</body>
</html>

6
HFS ~ HTTP File Server / Re: How could i do this?
« on: November 29, 2008, 10:23:39 PM »
o sorry lol. I tried that but e107 wouldn't let me create the link.

7
HFS ~ HTTP File Server / Re: How could i do this?
« on: November 29, 2008, 08:58:57 PM »
ok i am lost with that lol. maybe i am just better looking for someone to make a plugin for e107 similar to hfs.

8
HFS ~ HTTP File Server / Re: How could i do this?
« on: November 29, 2008, 12:42:08 PM »
yes php 5 is on there so I can use e107. My isp changes my ip every few days, so I have to go into my dyndns account and modify the address everytime this happens

9
HFS ~ HTTP File Server / Re: How could i do this?
« on: November 29, 2008, 12:27:20 PM »
yeah that's what i was thinking. I currently use dyndns for redirection and cloak. I was hoping there would be another way lol. i have to manually change the ip for my abyss server in there now everytime it changes because my isp blocks port 80. I thought maybe being it was on the same machine there would be another way. Thank you for a response rejetto. great program, keep up the good work :)

10
HFS ~ HTTP File Server / How could i do this?
« on: November 29, 2008, 12:16:36 PM »
I use abyss web server with e107 cms, and hfs. I want to run my server and hfs. I can do that, that isn't my problem. The problem is I want to use hfs for my downloads link. How would i link hfs to my site? I tried 127.0.0.1:port but its only visible to me lol. I have a dynamic ip so I don't wanna change this every time it changes. Is there a way I can do this?

11
RAWR-Designs / Re: favicon
« on: August 20, 2008, 02:05:55 PM »
yes, that's how it is supposed to be.

however, i noticed RAWR template doesn't have the link to the favicon, so you'll have to edit the template also

Thank You for tour reply rejetto. I tried that with editing the template also, but i cant get it to work. I'm just gonna give up on the favicon for right now. Program works good. keep up the good work. :)

12
RAWR-Designs / Re: favicon
« on: August 18, 2008, 02:22:58 PM »
im not sure i understand. I right click on the house / and added file (favicon.ico) but i dont see it in any browser. im not really sure what you mean. my exe is on the desktop, i have an index page and another .htm page also. My main folder for files is /files and i have an upload folder /uploads. if this helps any.

13
RAWR-Designs / favicon
« on: August 18, 2008, 06:32:09 AM »
I know this has been asked before, and i did search it. I want to change my favicon and <link rel="shortcut icon" href="/favicon.ico"> between <head></head> isnt working for me. I use RAWR-Template-0.1.1.tpl and HFS (2.3 beta, build 198). Please tell me how I could possibly change this. I added it to the root "/favicon.ico". thanks


14
HTML & templates / Re: need help with button
« on: August 14, 2008, 02:31:22 PM »
problem resolved. I used this and it worked. i wasnt letting active x on ie allow it either before.

Code: [Select]
<INPUT type=button
value="Yes, I Agree To The Above Terms"
style="background-color:#003F87; color:#FFAD5B;"
onMouseOver="this.style.bgColor = '#003F87';"
onMouseOut="this.style.bgColor = '#003F87';"
onClick="self.location='/files/';">

15
HTML & templates / need help with button
« on: August 14, 2008, 03:35:32 AM »
Can someone please tell me how i can get this button to work. It works well with firefox but not with ie7

<div class="agreebutton">
 <a href="/Files">
 <button style="width:300px;height:30px;
border-top-color:#FFAD5B;
border-left-color:#FFAD5B;
border-right-color:#FFAD5B;
border-bottom-color:#FFAD5B;
background-color:#003F87";><b><FONT SIZE="-1""font color="#FFAD5B">Yes, I Agree To The Above Terms</FONT><b>
</button></a>

thanks in advance

Pages: 1 2 3