• (3 Pages)
  • +
  • 1
  • 2
  • 3

Text Based Mafia Game || Staff and Forum Part 5 Rate Topic: ***** 2 Votes

#16 terror1990  Icon User is offline

  • New D.I.C Head

Reputation: -1
  • View blog
  • Posts: 6
  • Joined: 06-March 13

Posted 07 March 2013 - 11:11 AM

can someone upload the files back?

thanks a lot
Was This Post Helpful? 0
  • +
  • -

#17 terror1990  Icon User is offline

  • New D.I.C Head

Reputation: -1
  • View blog
  • Posts: 6
  • Joined: 06-March 13

Posted 07 March 2013 - 11:46 AM

View Postterror1990, on 07 March 2013 - 11:11 AM, said:

can someone upload the files back?

thanks a lot

Was This Post Helpful? -1
  • +
  • -

#18 Cydex  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 6
  • Joined: 23-April 13

Posted 01 May 2013 - 02:28 PM

I should stuck here !!!
coz the file not be in Attachment any more ? :nervous:
Was This Post Helpful? 0
  • +
  • -

#19 Cydex  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 6
  • Joined: 23-April 13

Posted 13 May 2013 - 03:59 PM

Hey Guys please anyone get the file please re-upload
Was This Post Helpful? 0
  • +
  • -

#20 romsuu  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 09-December 08

Posted 23 October 2013 - 03:49 PM

getting warning and notice

Notice: Undefined variable: name in /opt/lampp/htdocs/staff.php on line 2

Notice: Undefined variable: admin_array in /opt/lampp/htdocs/staff.php on line 2

Warning: in_array() expects parameter 2 to be array, null given in /opt/lampp/htdocs/staff.php on line 2

<?php require("safe.php"); ?>
<?php if (in_array ($name,$admin_array)) { ?>
<form name="form1" method="post" action="">
  <table width="90%" border="1" >
    <tr>
      <td colspan="4" align="left" >Admins</td>
    </tr>
    <tr>
      <td colspan="4" align="center" <?php
	
	if(empty($admins)){
	echo "There are no admins.";
	}else{
	
	$admins_list = explode("-", $admins);
	 		  
foreach( $admins_list as $key => $value){
	echo "<input name=\"admin_name\" type=\"radio\" value=\"".$value."\" onfocus=\"if(this.blur)this.blur()\">".$value."";

}		
}// if no friends.  
		  ?>

<html>
<body>
</td>
    </tr>
    <tr>
      <td width="50" align="left" ><b>Name:</b></td>
      <td align="center" ><input name="admin" type="text"  id="admin" style='width: 95%; ' maxlength="20" /></td>
      <td width="100" align="right" ><input name="Add_admin" type="submit"  id="Add_admin" value="Add." onfocus="if(this.blur)this.blur()" /></td>
      <td width="100" align="right" ><input name="Remove_admin" type="submit"  id="Remove_admin" value="Remove." onfocus="if(this.blur)this.blur()"/></td>
    </tr>
  </table>
  <br>
  <table width="90%" border="1" >
    <tr>
      <td colspan="4" align="left" >MOD List: </td>
    </tr>
    <tr>
      <td height="20" colspan="4" align="center" >Names of Mods will appear here</td>
    </tr>
    <tr>
      <td width="50" align="left" ><b>Name:</b></td>
      <td align="center" ><input name="Mod" type="text" id="Mod" style='width: 95%; ' maxlength="20" /></td>
      <td width="100" align="right" ><input name="Add_mod" type="submit"  id="Add_mod" value="Add." onfocus="if(this.blur)this.blur()" /></td>
      <td width="100" align="right" ><input name="Remove_Mod" type="submit"  id="Remove_Mod" value="Remove." onfocus="if(this.blur)this.blur()"/></td>
    </tr>
  </table>
  <br>
  <table width="90%" border="1" >
    <tr>
      <td colspan="4" align="left" >Hdo List: </td>
    </tr>
    <tr>
      <td colspan="4" align="center" >Names of HDOs will appear here</td>
    </tr>
    <tr>
      <td width="50" align="left" ><b>Name:</b></td>
      <td align="center" ><input name="hdo" type="text" id="hdo" style='width: 95%; ' maxlength="20" /></td>
      <td width="100" align="right" ><input name="Add_hdo" type="submit"  id="Add_hdo" onfocus="if(this.blur)this.blur()" value="Add." /></td>
      <td width="100" align="right" ><input name="Remove_hdo" type="submit"  id="Remove_hdo" value="Remove." onfocus="if(this.blur)this.blur()"/></td>
    </tr>
  </table>
</form>
<?php } ?>
</body>
</html>


Was This Post Helpful? 0
  • +
  • -

#21 lukenamop  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 12-November 13

Posted 12 November 2013 - 09:59 AM

View Postromsuu, on 23 October 2013 - 03:49 PM, said:

getting warning and notice

Notice: Undefined variable: name in /opt/lampp/htdocs/staff.php on line 2

Notice: Undefined variable: admin_array in /opt/lampp/htdocs/staff.php on line 2

Warning: in_array() expects parameter 2 to be array, null given in /opt/lampp/htdocs/staff.php on line 2

<?php require("safe.php"); ?>
<?php if (in_array ($name,$admin_array)) { ?>
<form name="form1" method="post" action="">
  <table width="90%" border="1" >
    <tr>
      <td colspan="4" align="left" >Admins</td>
    </tr>
    <tr>
      <td colspan="4" align="center" <?php
	
	if(empty($admins)){
	echo "There are no admins.";
	}else{
	
	$admins_list = explode("-", $admins);
	 		  
foreach( $admins_list as $key => $value){
	echo "<input name=\"admin_name\" type=\"radio\" value=\"".$value."\" onfocus=\"if(this.blur)this.blur()\">".$value."";

}		
}// if no friends.  
		  ?>

<html>
<body>
</td>
    </tr>
    <tr>
      <td width="50" align="left" ><b>Name:</b></td>
      <td align="center" ><input name="admin" type="text"  id="admin" style='width: 95%; ' maxlength="20" /></td>
      <td width="100" align="right" ><input name="Add_admin" type="submit"  id="Add_admin" value="Add." onfocus="if(this.blur)this.blur()" /></td>
      <td width="100" align="right" ><input name="Remove_admin" type="submit"  id="Remove_admin" value="Remove." onfocus="if(this.blur)this.blur()"/></td>
    </tr>
  </table>
  <br>
  <table width="90%" border="1" >
    <tr>
      <td colspan="4" align="left" >MOD List: </td>
    </tr>
    <tr>
      <td height="20" colspan="4" align="center" >Names of Mods will appear here</td>
    </tr>
    <tr>
      <td width="50" align="left" ><b>Name:</b></td>
      <td align="center" ><input name="Mod" type="text" id="Mod" style='width: 95%; ' maxlength="20" /></td>
      <td width="100" align="right" ><input name="Add_mod" type="submit"  id="Add_mod" value="Add." onfocus="if(this.blur)this.blur()" /></td>
      <td width="100" align="right" ><input name="Remove_Mod" type="submit"  id="Remove_Mod" value="Remove." onfocus="if(this.blur)this.blur()"/></td>
    </tr>
  </table>
  <br>
  <table width="90%" border="1" >
    <tr>
      <td colspan="4" align="left" >Hdo List: </td>
    </tr>
    <tr>
      <td colspan="4" align="center" >Names of HDOs will appear here</td>
    </tr>
    <tr>
      <td width="50" align="left" ><b>Name:</b></td>
      <td align="center" ><input name="hdo" type="text" id="hdo" style='width: 95%; ' maxlength="20" /></td>
      <td width="100" align="right" ><input name="Add_hdo" type="submit"  id="Add_hdo" onfocus="if(this.blur)this.blur()" value="Add." /></td>
      <td width="100" align="right" ><input name="Remove_hdo" type="submit"  id="Remove_hdo" value="Remove." onfocus="if(this.blur)this.blur()"/></td>
    </tr>
  </table>
</form>
<?php } ?>
</body>
</html>




For the unknown variable name and admin_array, did you by chance change the name in safe.php like I did?

Please somebody get the attachments D: email them to me at mod:email removed

This post has been edited by modi123_1: 12 November 2013 - 10:06 AM
Reason for edit:: removed email

Was This Post Helpful? 0
  • +
  • -

#22 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 8379
  • View blog
  • Posts: 31,148
  • Joined: 12-June 08

Posted 12 November 2013 - 10:06 AM

Let's keep the help public for everyone to benefit.
Was This Post Helpful? 0
  • +
  • -

#23 lukenamop  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 12-November 13

Posted 12 November 2013 - 01:38 PM

View Postmodi123_1, on 12 November 2013 - 10:06 AM, said:

Let's keep the help public for everyone to benefit.

I agree, I just thought it would be easier to email it. I mean the thing is that not many people even look here... I dunno. yeah.
Was This Post Helpful? 0
  • +
  • -

#24 OutcasTG  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 10-November 13

Posted 20 November 2013 - 08:29 AM

Can someone reupload the files and provide links?

Please?

Thanks In Advance
Was This Post Helpful? 0
  • +
  • -

#25 Teajay  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 17-December 13

Posted 17 December 2013 - 03:12 PM

Could someone re-upload the attachments or point to possible alternatives?

(but if I find anything I will let you know..)

Was This Post Helpful? 0
  • +
  • -

#26 J3ffers  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 27-December 13

Posted 27 December 2013 - 08:42 AM

I too require the attachments for this part, including the later parts, anyone have them?
Was This Post Helpful? 0
  • +
  • -

#27 Denis1  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 32
  • View blog
  • Posts: 101
  • Joined: 29-July 09

Posted 27 December 2013 - 02:45 PM

I did this on an old pc lucky i still have that laying around, so over the next couple of day I will go hunting for those files and if nothing is found I will re-code them.
Was This Post Helpful? 0
  • +
  • -

#28 pdhroche  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 23-February 14

Posted 23 February 2014 - 04:32 PM

View PostDenis1, on 27 December 2013 - 02:45 PM, said:

I did this on an old pc lucky i still have that laying around, so over the next couple of day I will go hunting for those files and if nothing is found I will re-code them.


Can you re-upload setup file please.
Was This Post Helpful? 0
  • +
  • -

#29 macosxnerd101  Icon User is offline

  • Self-Trained Economist
  • member icon




Reputation: 10186
  • View blog
  • Posts: 37,613
  • Joined: 27-December 08

Posted 23 February 2014 - 04:39 PM

Did you try following the Github link on the first page?
Was This Post Helpful? 0
  • +
  • -

#30 pdhroche  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 23-February 14

Posted 23 February 2014 - 04:53 PM

View Postmacosxnerd101, on 23 February 2014 - 04:39 PM, said:

Did you try following the Github link on the first page?


It has every file except for setup.php
Was This Post Helpful? 0
  • +
  • -

  • (3 Pages)
  • +
  • 1
  • 2
  • 3