Jump to content
GIGN Forum

[script] For Coded Websites


Recommended Posts

<?php
//Configuration

$forum_home = "http://web.lv" //full path to you forum with http://
?>
<?php

/*========================================*\
|| #################################### # ||
|| # LOGIN SCRIPT                       # ||
|| # -----------------------------------# ||
|| # FREE SCRIPT                        # ||
|| # copyright IPB forum..             # ||
|| #################################### # ||
\*========================================*/
print "<!--
/*=========================================*\
|| ####################################### ||
|| # LOGIN SCRIPT                        # ||
|| # ----------------------------------- # ||
|| # Made by tipa elvis                # ||
|| # ----------------------------------- # ||
|| # Copyright IPB.                      # ||
|| ####################################### ||
\*=========================================*/
-->
";
?>

<!--IBF.NEWPMBOX-->
<script language='JavaScript' type="text/javascript">
<!--
function ValidateForm() {
var Check = 0;
if (document.LOGIN.UserName.value == '') { Check = 1; }
if (document.LOGIN.PassWord.value == '') { Check = 1; }
if (Check == 1) {

alert("Please enter your name and password before continuing");

	return false;
} else {
	document.LOGIN.submit.disabled = true;
	return true;
}
}
//-->
</script>
<form action="<?php echo "$forum_home"; ?>/index.php?act=Login&CODE=01" method="post" name="LOGIN" onsubmit="return ValidateForm()">
<input type="hidden" name="referer" value="<?php echo "$forum_home"; ?>" />
<div class="borderwrap">

	<div class='row2'>

	<table class='ipbtable' cellspacing="0">
		<tr>
			<td width="100%" valign="top" class='row2'>
				<fieldset>
					<legend><b>Log In</b></legend>
					<table class='ipbtable' cellspacing="1">
						<tr>

<td width="50%"><b>Login</b></td>
							<td width="50%"><input type="text" size="25" maxlength="64" name="UserName" /></td>

						</tr>
						<tr>
							<td width="50%"><b>Pass</b></td>
							<td width="50%"><input type="password" size="25" name="PassWord" /></td>
						</tr>
					</table>
				</fieldset>
			</td>
			</tr>



					</table>
				</fieldset>
			</td>
		</tr>
		<tr>
			<td class="formbuttonrow" colspan="2"><input class="button" type="submit" name="submit" value="Log me in" /></td>
		</tr>
		<tr>
			<td class="catend" colspan="2"><!-- no content --></td>
		</tr>
	</table>
</div>
</form>
<script type='text/javascript'>
//<![CDATA[
menu_do_global_init();
show_inline_messages();
// Uncomment this to fix IE png images
// causes page slowdown, and some missing images occasionally
// if ( is_ie )
// {
//	 ie_fix_png();
// }

//]]>
</script>

Nebija ko darīt un uztaisīju scriptu , kas ļaus priekš kodētām mājaslapām ielikt IPB loginu jūsu lapā...

Edited by tipa elvis
Link to comment
Share on other sites

nu lai tā būtu , kāda jēga man būtu melot ?

Viss ko es esmu izdarījis ir dabūjis sourci no ipb , pārveidojis lai izskatās smukā , mazā kubikā , pievienojis augša copyrightu un uztaisījis $ funckiju kas ieliek datus noteiktā vietā un to var izmantot kā konfigurāciju . Ja tu domā ka es esmu to izrāvis no kādas lapas tad parādi kuras :meele:

Link to comment
Share on other sites

Labs darbiņš, bet es domāju katrs var to uztaisīt vienkārši

<form action="/index.php?act=Login&CODE=01">

<input type="text" name ="username" />

<input type="password" name ="parole" />

<input type="poga" name ="submin" value="ielogoties" />

</form>

domāju ka ar šito te pietiek nevaig nekādas pupu mizas :D

Link to comment
Share on other sites

Nu bļe pats gan tu esi kaut ko kodējis, ne? Nevarēji uzrakstīt, ka nozagi un pārveidoji?

Tu pat angļu valodu nemāki, jo koment-blokā ir rakstīts: "MADED BY TIPA ELVIS" - tas jau izsaka visu!

Varu derēt, ka tu pat nezini, ko šitas nozīmē:

<td width="50%"><input type="password" size="25" name="PassWord" /></td>

EDĪTE: Šito var dabūt arī CP panelī, man liekas, ka editojot headeri un footeri, tur bija tieši ielogošanās šits, tāpēc šitas topiks NEKAM NEDER!

EDĪTE2: Tu vispār zini kas ir copyrights?

Edited by Kefiirs666
Link to comment
Share on other sites

lasīt māki ? es minēju ka es tik pārveidoju sourci ko iegruvu no ipb lapas. Par GET un POST funkcijām es šo to māku , un copyrights ir autortiesības , jo tās pieder IPB forumam. Nevajag te gudri stāstīt ka es tur neko nemāku , vai ka tev tas nepatīk. Es atzīstu ka angļu valoda nav mana stiprā puse , bet nedomāju ka tas traucē scripta darbībai un domāju ka šis scripts daudziem noderēs!

EDIT : GOMA smile - paldies par padomu , centīšos vairāk pamācīties par php :)

Edited by tipa elvis
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...