Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Kaip padaryti login kitoki?

Parašė Mariuxz· 2010 Spa. 9 21:10:11
#1

Esu daugelije puslapių matęs jog būna pasidarę kitokius login:
1.
Kaip pakeisti į tokį?
2.
Gal galėtumete paaiškinti ar padėti padaryti, kad vietoj 1 pasidarytų į 2?
Aš nusipiešiau 2. pats tik vat nemoku tokio dabar užmaut ant puslapio.

Redagavo Mariuxz· 2010 Spa. 9 21:10:48

Parašė Donatas· 2010 Spa. 9 21:10:56
#2

Keisk laukelio IMG, button'o IMG, ir redaguokis. :)

Parašė Mariuxz· 2010 Spa. 9 21:10:51
#3

Gal imanoma kaip nors aiškiau, nes aš pakankamai žalias šitoj sritį?
Čia reiktu kažkaip pakeisti login.php tik nelabai žinau kaip? Padėkit ;)

Redagavo Mariuxz· 2010 Spa. 9 21:10:00

Parašė Donatas· 2010 Spa. 9 21:10:02
#4

Vietoj to laukelio kur įrašyti, nusipiešk kokį nori ir per style.css pasidaryk, kad tą laukelį kaip IMG nuskaitytų, tą tavo. Ir bus. :)

Parašė Mariuxz· 2010 Spa. 9 21:10:20
#5

Aš nusipiešiau 2. pats tik vat nemoku tokio dabar užmaut ant puslapio.
teqila aš išvis nelabai moku HTML todėl man neina tokios panelės pasidaryt....
wa puslapis tik nžn kaip daryt http://namudarbai.wu.lt/news.php

Redagavo Mariuxz· 2010 Spa. 9 21:10:29

Parašė Faitas.· 2010 Spa. 9 21:10:51
#6

Teqila parašė:
Vietoj to laukelio kur įrašyti, nusipiešk kokį nori ir per style.css pasidaryk, kad tą laukelį kaip IMG nuskaitytų, tą tavo. Ir bus. :)


Tai padaryk kaip jis sakė, ir tada nueik į dizaino theme.php failiuką, ir ten redaguok tą login laukelį :)

Parašė botanik· 2010 Spa. 9 22:10:45
#7

Man taip pat gerai butu suzinoti :)

Parašė Mariuxz· 2010 Spa. 9 23:10:18
#8

Tai kas nors gali mums su ramziku aiškiai paaiškinti kaip tai pasidaryti?

Parašė Noyz· 2010 Spa. 9 23:10:47
#9

Pasimokinkit šiek tiek html ir mokėsit, juk čia lengva. :) .

Parašė botanik· 2010 Spa. 9 23:10:07
#10

tai as is bedos pasikoduociau, bet galbut maniau koki lengvesni buda pasakysit :D

Parašė Arvydas· 2010 Spa. 10 09:10:37
#11

Padaryčiau , už pora litukų. :D

Parašė Creatium· 2010 Spa. 10 10:10:39
#12

Login input'ams nustatykit klases. Tas pačias klases nustatykit ir style.css faile prie input'o. Į ją surašykit visus duomenis - backgroundą, padding'ą (arba margin), plotį, storį ir t.t.

Parašė Donatas· 2010 Spa. 10 10:10:54
#13

Nu aš manau normaliai paaiškinau, tai nėra sunku. :)

Parašė bruzgis· 2010 Spa. 10 11:10:32
#14

na jei nori galiu padaryt

Parašė TreaNt· 2010 Spa. 10 11:10:13
#15

Ir man praverstu jei pamokintumėte kaip pasidaryti tokią panel'ę :)

Parašė Donatas· 2010 Spa. 10 11:10:13
#16

Pakeiti to langelio bg ir style.css redauoji, kad BG tavo img būtų ir viskas.

Parašė TreaNt· 2010 Spa. 10 11:10:51
#17

Taip lengvai? :]
Net nepagalvočiau... :)

Parašė Donatas· 2010 Spa. 10 11:10:58
#18

Taip, taip lengva. :)

Parašė Mariuxz· 2010 Spa. 10 14:10:07
#19

Pasidariau koda gal galit padet man dabar, as viska su styles.css temoj sukonfiguravau tik nezinau kaip ikelt ta koda i theme.php
cia kodas

if (iMEMBER) {
	if ($userdata['user_avatar'] != "") {
	echo "<center><table cellspacing='0' cellpadding='0' border='0' align=\"left\" style=\"padding-right: 10px; padding-left: 35px;\"><tr>\n";
	echo "<td align='center' height='0%'>";
	echo "<img src='".BASEDIR."images/avatars/".$userdata['user_avatar']."' width='50' height='50' border='0' alt=''></td>";
	echo "</table></center>";
	} else {
	echo"<table><tr><td></td></tr></table>";
	}
	echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."edit_profile.php' class='a'>Redaguoti profil&#303;</a><br>
	<img src='images/bullet.gif' alt=''> <a href='".BASEDIR."messages.php' class='a'>&#381;inut&#279;s</a><br>
	<img src='images/bullet.gif' alt=''> <a href='".BASEDIR."profile.php?lookup=".$userdata['user_id']."' class='a'>Mano profilis</a><br>
	<img src='images/bullet.gif' alt=''> <a href='".BASEDIR."members.php' class='a'>Nari&#371; sara&#353;as</a><br>";
	echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr>
	<td></td></tr></table>";
	echo "\n";
	if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
	echo"<img src='images/bullet.gif' alt=''> <a href='".ADMIN."index.php".$aidlink."','_self' class='a'>Administracija</a><br>\n";
	}{echo " ";
	echo"<img src='images/bullet.gif' alt=''> <a href='".BASEDIR."setuser.php?logout=yes','_self' class='a'>Atsijungti</a></div>\n";
	}
	tablebreak();
	} else {
	echo "<form name='loginform' method='post' action='".FUSION_SELF."'>
	<input type='text' name='user_name' class='pass' value='vardas' onBlur=\"if(this.value=='') this.value='vardas';\" onFocus=\"if(this.value=='vardas') this.value='';\" ><br>
	<img src='".THEME."images/bg_l.png' alt=''><br>
	<input type='password' name='user_pass' class='pass' value='slapta&#382;odis' onBlur=\"if(this.value=='') this.value='slapta&#382;odis';\" onFocus=\"if(this.value=='slapta&#382;odis') this.value='';\" ><br>
	<input type='checkbox' name='remember_me' value='y' title='Prisiminti mane' style='vertical-align:middle;'><span style='font-size: 10px; color:#ffffff;'>Prisiminti mane</span>
	<input type='submit' name='login' value='' class='inne'>
	</form>\n";
	if ($settings['enable_registration']) {
	echo "<img src='".THEME."images/bg_l.png' alt=''><br>
	<a href='".BASEDIR."register.php' >
	<span style='font-size: 9px; font-family: sans-serif;' ><b>Registracija | </b></a></span>
	<a href='".BASEDIR."lostpassword.php' >
	<span style='font-size: 9px; font-family: sans-serif;' ><b>prisimink slapta&#382;odi!</b></a></span>\n";
	}
	echo "</div>\n";


O cia theme.php


 
<?php
if (!defined("IN_FUSION")) { die("Access Denied"); }
 
define("THEME_WIDTH", "831");
define("THEME_BULLET", "<img src='".THEME."images/bullet.gif' alt='' style='border:0' />");
 
require_once INCLUDES."theme_functions_include.php";
 
function render_page($license=false) {
 
	global $settings, $main_style;
 
	//Header
	echo "<table align='center' cellspacing='0' cellpadding='0' width='".THEME_WIDTH."' class='outer-border center'>\n<tr>\n";
	echo "<td>\n";
	echo "<table align='center' cellpadding='0' cellspacing='0' width='831' class='full-header'>\n<tr>\n";
 
	echo "<td><span style='float:right; padding-right:10px; padding-top:3px;'><a href='/'><img src='".THEME."images/baneris.png' border='0' width='468' height='60'></a></td>\n";
 
	echo "<td></td>\n";
	echo "</tr>\n</table>\n";
	echo "</td>\n</tr>\n</table>\n";
 
	echo "<table cellpadding='0' cellspacing='0' width='831' align='center'>\n<tr>\n";
	echo "<td><img src='".THEME."images/off/1.png' border='0' width='69' height='32'><a href='/'><img src='".THEME."images/off/2.png' border='0' onMouseOver=this.src='".THEME."images/on/2.png' onMouseOut=this.src='".THEME."images/off/2.png' width='104' height='32'></a><img src='".THEME."images/off/3.png' border='0' width='24' height='32'><a href='/'><img src='".THEME."images/off/4.png' border='0' onMouseOver=this.src='".THEME."images/on/4.png' onMouseOut=this.src='".THEME."images/off/4.png' width='79' height='32'></a><img src='".THEME."images/off/5.png' border='0' width='20' height='32'><a href='/'><img src='".THEME."images/off/6.png' border='0' onMouseOver=this.src='".THEME."images/on/6.png' onMouseOut=this.src='".THEME."images/off/6.png' width='114' height='32'></a><img src='".THEME."images/off/7.png' border='0' width='27' height='32'><a href='/'><img src='".THEME."images/off/8.png' border='0' onMouseOver=this.src='".THEME."images/on/8.png' onMouseOut=this.src='".THEME."images/off/8.png' width='191' height='32'></a><img src='".THEME."images/off/9.png' border='0' width='25' height='32'><a href='/'><img src='".THEME."images/off/10.png' border='0' onMouseOver=this.src='".THEME."images/on/10.png' onMouseOut=this.src='".THEME."images/off/10.png' width='88' height='32'></a><img src='".THEME."images/off/11.png' border='0' width='90' height='32'><img src='".THEME."images/off/12.png' border='0' width='831' height='15'></td>\n";
	echo "</tr>\n</table>\n";
 
 
	//Content
	echo "<table align='center' cellpadding='0' cellspacing='0' width='831' class='$main_style'>\n<tr>\n";
	if (LEFT) { echo "<td class='side-border-left' valign='top'>".LEFT."</td>"; }
	echo "<td class='main-bg' valign='top'>".U_CENTER.CONTENT.L_CENTER."</td>";
	if (RIGHT) { echo "<td class='side-border-right' valign='top'>".RIGHT."</td>"; }
 
	echo "</tr>\n</table>\n";
 
	//Footer
	echo "</tr>\n</table>\n";
	echo "<table cellpadding='0' cellspacing='0' width='831' align='center'>\n<tr>\n";
	echo "<tr><td align='center'><div class='bottom'>
 
  </div>
</div></td></tr>\n";
	echo "<td class='footer' align='center'>Visos teis&#279;s saugomos, kopijuoti turin&#303; draud&#382;iama &copy; <b><span style='color:#789d76' 'http://namudarbai.wu.lt/news.php'>Namudarbai.wu.lt</span></b> | 2010
  <span style='float:right; padding-right:100px; padding-bottom:11px;'><a href='/'><img src='".THEME."images/off/face.png' border='0' onMouseOver=this.src='".THEME."images/on/face.png' onMouseOut=this.src='".THEME."images/off/face.png' width='47' height='33'></a>&nbsp;&nbsp;<a href='/'><img src='".THEME."images/off/tweet.png' border='0' onMouseOver=this.src='".THEME."images/on/tweet.png' onMouseOut=this.src='".THEME."images/off/tweet.png' width='47' height='33'></a><br /></span>\n";
	echo "</td>\n</tr>\n</table>\n";
	echo "</td>\n</tr>\n</table>\n";
 
}
 
function render_news($subject, $news, $info) {
 
	echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
	echo "<td class='capmain'>".$subject."</td>\n";
	echo "</tr>\n<tr>\n";
	echo "<td class='main-body'>".$news."</td>\n";
	echo "</tr>\n<tr>\n";
	echo "<td align='center' class='news-footer'>\n";
	echo newsposter($info," &middot;").newsopts($info,"&middot;").itemoptions("N",$info['news_id']);
	echo "</td>\n</tr>\n</table>\n";
 
}
 
function render_article($subject, $article, $info) {
 
	echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
	echo "<td class='capmain'>".$subject."</td>\n";
	echo "</tr>\n<tr>\n";
	echo "<td class='main-body'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</td>\n";
	echo "</tr>\n<tr>\n";
	echo "<td align='center' class='news-footer'>\n";
	echo articleposter($info," &middot;").articleopts($info,"&middot;").itemoptions("A",$info['article_id']);
	echo "</td>\n</tr>\n</table>\n";
 
}
 
function opentable($title) {
 
	echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
	echo "<td class='capmain'>".$title."</td>\n";
	echo "</tr>\n<tr>\n";
	echo "<td class='main-body'>\n";
 
}
 
function closetable() {
 
	echo "</td>\n</tr>\n</table>\n";
 
}
 
function openside($title, $collapse = false, $state = "on") {
 
	global $panel_collapse; $panel_collapse = $collapse;
 
	echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>\n<tr>\n";
	echo "<td class='scapmain'>".$title."</td>\n";
	if ($collapse == true) {
		$boxname = str_replace(" ", "", $title);
		echo "<td class='scapmain' align='right'>".panelbutton($state,$boxname)."</td>\n";
	}
	echo "</tr>\n<tr>\n";
	echo "<td".($collapse == true ? " colspan='2'" : "")." class='side-body'>\n";	
	if ($collapse == true) { echo panelstate($state, $boxname); }
 
}
 
function closeside($collapse = false) {
 
	global $panel_collapse;
 
	if ($panel_collapse == true) { echo "</div>\n"; }	
	echo "</td>
</tr>
	<td><img src='".THEME."images/panel_fo.png' border='0'></td>
</table>\n";
 
}
?>