rejetto forum

code for forum

0 Members and 1 Guest are viewing this topic.

Offline Colossus

  • Occasional poster
  • *
    • Posts: 19
    • View Profile
with some other files, could forums be possible with ghp instead of php?

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML dir=ltr>
<HEAD>
<TITLE>%forumname - powered by Colossus</TITLE>
<!-- no cache headers -->
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="no-cache">
<meta http-equiv="Expires" content="-1">
<meta http-equiv="Cache-Control" content="no-cache">
<!-- end no cache headers -->
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">

<link rel="stylesheet" href="/efs.css" type="text/css">

<script language="javascript" type="text/javascript">
<!--
function input(ok){ return true;}function ReadCookie(dcname) {var dcexist = dcname + "="; var Dc0 = "Unregistered";if (document.cookie.length > 0) {offset = document.cookie.indexOf(dcexist);if  (offset != -1) {offset += dcexist.length; end = document.cookie.indexOf(";", offset);if (end == -1) { end = document.cookie.length; } return unescape(document.cookie.substring(offset,end));} else { return Dc0; } } else { return Dc0; }};

function emoticon(text) {
var txtarea = document.post.content;
text = ' ' + text + ' ';
if (txtarea.createTextRange && txtarea.caretPos) {
var caretPos = txtarea.caretPos;
caretPos.text = caretPos.text.charAt(caretPos.text.length - 1) == ' ' ? caretPos.text + text + ' ' : caretPos.text + text;
txtarea.focus();
} else {
txtarea.value  += text;
txtarea.focus();
}
}

function deletetopiccontent(url)
{
   if(!confirm("Do you really want to delete this reply?")) return;
   window.top.location.href = url;
}

// -->
</script>

<META content="MSHTML 6.00.2800.1106" name=GENERATOR></HEAD>
<BODY text=#000000 vLink=#587ea5 link=#587ea5 bgColor=#b8d0dc><A name=top></A>
<TABLE cellSpacing=0 cellPadding=10 width="100%" align=center border=0>
  <TBODY>
  <TR>
      <TD class=bodyline> <TABLE cellSpacing=0 cellPadding=2 border=0>
          <TBODY>
            <TR>
              <TD vAlign=top noWrap align=middle><SPAN class=mainmenu> &nbsp;<IMG
                  height=13 alt="Forums list" hspace=3
                  src="/forum.gif" width=12
                  border=0><A
                  class=mainmenu
                  href="/forum.ghp">Forums</A>&nbsp; &nbsp;<IMG
                  height=13 alt="Virtual Folders list" hspace=3
                  src="/vfolder.gif" width=12
                  border=0><A class=mainmenu
                  href="/vfolder.ghp">Virtual Folders</A><!--chat-->&nbsp; &nbsp;<IMG
                  height=13 alt="Users setting" hspace=3
                  src="/user.gif" width=12
                  border=0><A class=mainmenu
                  href="/users.htm">User Setting</A>&nbsp; &nbsp;<IMG
                  height=13 alt="Log out" hspace=3
                  src="/logout.gif" width=12
                  border=0><A class=mainmenu
                  href="/login.htm">Log out
<script language="javascript" type="text/javascript">
<!--
function ReadUsername() {var dcexist = "UserID" + "="; var Dc0 = "";if (document.cookie.length > 0) {offset = document.cookie.indexOf(dcexist);if  (offset != -1) {offset += dcexist.length; end = document.cookie.indexOf(";", offset);if (end == -1) { end = document.cookie.length; } if(unescape(document.cookie.substring(offset,end))=="") return ""; else return "[ "+unescape(document.cookie.substring(offset,end))+" ]";} else { return Dc0; } } else { return Dc0; }};
document.write(ReadUsername());
// -->
</script>
</A></SPAN>&nbsp; </TD>
            </TR>
          </TBODY>
        </TABLE>

        <div align="center"><BR>
          <a href="/forum.ghp?forumid=%forumid" class="cattitle">%forumname</a><BR>
        </div>

      <TABLE cellSpacing=2 cellPadding=2 width="100%" border=0>
        <TBODY>
            <TR>
            <TD vAlign=bottom noWrap align=left><SPAN class=nav><a href="/upload.ghp?forumid=%forumid"><IMG src="/upload.gif"
            alt="Upload a file to this topic" 
            border=0 align=middle></a>&nbsp;&nbsp;&nbsp;<A
            href="#reply"><IMG src="/reply.gif"
            alt="Reply to topic"
            border=0 align=middle></A></SPAN></TD>
              <TD vAlign=center align=left width="100%"><SPAN
            class=nav>&nbsp;&nbsp;</SPAN></TD>
            </TR></TBODY></TABLE>
        <TABLE class=forumline cellSpacing=1 cellPadding=3 width="100%"
        border=0>
        <TBODY>
           
            <TR>
              <TH class=thLeft noWrap width=150 height=29>Author</TH>
              <TH class=thRight noWrap>Message</TH>
            </TR>
            <TR>
              <TD class=row1 vAlign=top align=left width=150>
              <SPAN class=name><B>%author</B></SPAN><br>
              <SPAN class=postdetails><br>
                %avatar<br><br>
                Joined: %joined<br>
                Posts: %topics <br>
              </SPAN><br>
              </TD>

              <TD class=row1 vAlign=top width="100%" height=28>

<table width="100%">
<tr>
<td>
              <SPAN class=postdetails>Posted: %time</SPAN> <SPAN class=postbody><b>%title</b><br></SPAN>
</td>
<td align=right valign="top">
       <SPAN class=gen><!--edit--></SPAN>
       <SPAN class=gen><!--delete--></SPAN>
</td>
</tr>
</table>
              <hr>

              <SPAN class=postbody><br>%content</SPAN>
              </TD>

            </TR>
            <TR><TD class=spaceRow colSpan=2 height=1><IMG height=1 alt="" src="/spacer.gif" width=1></TD></TR>                       



Offline bmartino1

  • Tireless poster
  • ****
    • Posts: 910
  • I'm only trying to help i mean no offense.
    • View Profile
    • My HFS Google Drive Shared Link
this is the first i'm here of ghp, couldn't google search it, nor find other programming examples for it, i would be interested in learning it and attempting to use it.

any info on it would be appreciated.

I'm guessing: i'm assuming it is a "GNU" alternative to php?
Files I have snagged and share can be found on my google drive:

https://drive.google.com/drive/folders/1qb4INX2pzsjmMT06YEIQk9Nv5jMu33tC?usp=sharing


Offline bmartino1

  • Tireless poster
  • ****
    • Posts: 910
  • I'm only trying to help i mean no offense.
    • View Profile
    • My HFS Google Drive Shared Link
also, via raybob and some of his hard work, it is possble to have php in hfs:

http://www.rejetto.com/forum/programmers-corner/php-in-hfs/msg1055851/#msg1055851

cgi php download: http://windows.php.net/download#php-5.4

its just hard to execute it right without error...
Files I have snagged and share can be found on my google drive:

https://drive.google.com/drive/folders/1qb4INX2pzsjmMT06YEIQk9Nv5jMu33tC?usp=sharing


Offline Colossus

  • Occasional poster
  • *
    • Posts: 19
    • View Profile
trust me not 2 notice, in the meantime i been working out a way

this calls 4 celebration drink anyone? ;D ;D


Offline ataxy

  • Occasional poster
  • *
    • Posts: 19
    • View Profile
    • http://d-vault.peerforces.com