Rogério Alencar Posted February 6, 2012 Share Posted February 6, 2012 Olá galera do PDH, gostaria de saber se alguem conhece algum script que podemos inserir em um site para os clientes acessarem o cpanel via formulário. Link to comment Share on other sites More sharing options...
Jaime Silva Posted February 6, 2012 Share Posted February 6, 2012 Isso é tão fácil. Pegue o código fonte da página de login do cPanel e personalize. <form action="/login/" method="post" target="_top"> <input type="hidden" name="login_theme" value="cpanel" /> <table width="200px" class="login" cellpadding="0" cellspacing="0"> <tr> <td align="left" colspan="2"><strong>Login</strong></td> </tr> <tr> <td class="login_lines">Username </td> <td class="login_lines"><input id="user" autofocus="autofocus" type="text" name="user" size="16" tabindex="1" /></td> </tr> <tr class="row2"> <td class="login_lines">Password </td> <td class="login_lines"><input id="pass" type="password" name="pass" size="16" tabindex="2" /></td> </tr> <tr> <td colspan="2" style="text-align: center"><input type="submit" value="Login" class="input-button" tabindex="3" /></td> </tr> </table> <input type="hidden" name="goto_uri" value="/" /> </form> Não há bem nem mal que dure para sempre. Um dia tudo acaba. Link to comment Share on other sites More sharing options...
Rogério Alencar Posted February 6, 2012 Author Share Posted February 6, 2012 Ok, valeu.. obrigado pela ajuda Link to comment Share on other sites More sharing options...
Recommended Posts