Location: PHPKode > scripts > OekakiPoteto > oekakipoteto/niftyusage.php
<html>
<script language="JavaScript">
<!--
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_setTextOfTextfield(objName,x,newText) { //v3.0
  var obj = MM_findObj(objName); if (obj) obj.value = newText;
}
//-->

<!--
  function openWindow(url, w, h) {
    var options = "width=" + w + ",height=" + h + ",";
    options += "resizable=yes,scrollbars=yes,status=no,";
    options += "menubar=no,toolbar=no,location=no,directories=no";
    var newWin = window.open(url, 'newWin', options);
    newWin.focus();
  }
//-->
</script>

<head>
<?
function rootpath(){
	global $DOCUMENT_ROOT;
	$rootdir = $DOCUMENT_ROOT;
	if ($DOCUMENT_ROOT[strlen($DOCUMENT_ROOT)] == "/"){
		return $rootdir;
	} else {
		$rootdir = $rootdir."/";
		return $rootdir;
	}
}

include('config.php');
?>
<title><?=$BBStitle?> - OekakiPoteto</title>
<meta http-equiv="Content-Type" content="text/html; charset=<?=$charset?>">
<meta name="description" content="Start your own online artist community with OekakiPoteto - an extension script to two popular online paint programs, OekakiBBS and PaintBBS.">
<meta name="keywords" content="theo, chakkapark, oekaki, poteto, suteki.nu, suteki, oekakiBBS, paintBBS, community, php, mysql, art, drawing, cg, anime, suteki">
</head>
<?
include('dbconn.php');
	$testrslt = mysql_query("SELECT usrname, usrpass, templatesel,language, usrflags FROM ".$OekakiPoteto_MemberPrefix."oekaki WHERE usrname='$OekakiU'");
	
	//extract the fields selected above into variables
	$row = mysql_fetch_array($testrslt);

if($OekakiU == ""){
	include("language/".$language.".php");
	include("templates/".$template.".php");
	} else {
	include("templates/".$row[templatesel].".php");
	include("language/".$row[language].".php");
}
mysql_close();
?>
<body bgcolor="<?=$bgColor?>" text="<?=$textColor?>" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" background="<?=$OPdir?>/templates/<?=$bgImage?>" link="<?=$link?>" vlink="<?=$vLink?>" alink="<?=$aLink?>">
<table width="100%" cellpadding="<?=$hCellPadding?>" align="center" class="header">
  <tr> 
    <td><?=$langop_niftytoo_title?></td>
  </tr>
</table>
<table width="100%" cellpadding="<?=$hCellPadding?>" align="center" class="infotable">
  <tr> 
    <td valign="top"> 
      <div align="center"><font size="-1"><?=$langop_niftytoo_titlesub?><br>
        </font></div>
      <table border="0" cellspacing="2" cellpadding="5" width="100%">
        <tr> 
          <th colspan="2"> <div align="left"><font size="-1"><?=$langop_niftytoo_linking?></font></div></th>
        </tr>
        <tr> 
          <td colspan="2" class="niftycode"><font size="-1"><?=$langop_niftytoo_autolink?></font></td>
        </tr>
        <tr> 
          <th colspan="2"> <div align="left"><font size="-1"><?=$langop_niftytoo_basicfor?></font></div></th>
        </tr>
        <tr> 
          <td class="niftycode"><font size="-1">[color:<em><?=$langop_word_colorcode?></em>]<strong><?=$langop_word_text?></strong>[/color]</font></td>
          <td><font size="-1"><?=$langop_niftytoo_textcol?>.<br>
            <?=$langop_word_example?>: [color:#00FFFF]<?=$langop_word_text?>[/color] <?=$langop_niftytoo_produce?> <font color="#00FFFF"><?=$langop_word_text?><br>
            </font><font size="-1"><?=$langop_word_example?>: [color:red]<?=$langop_word_text?>[/color] <?=$langop_niftytoo_produce?> 
            <font color="red"><?=$langop_word_text?></font></font><font color="#00FFFF"> </font></font></td>
        </tr>
        <tr> 
          <td class="niftycode"><font size="-1">[b]<b><?=$langop_word_text?></b>[/b]</font></td>
          <td><font size="-1"><b><?=$langop_word_bold?></b> <?=$langop_word_text?>.</font></td>
        </tr>
        <tr> 
          <td class="niftycode"><font size="-1">[i]<b><?=$langop_word_text?></b>[/i]</font></td>
          <td><font size="-1"><i><?=$langop_word_italic?></i> <?=$langop_word_text?>.</font></td>
        </tr>
        <tr> 
          <td class="niftycode"><font size="-1">[u]<b><?=$langop_word_text?></b>[/u]</font></td>
          <td><font size="-1"><u><?=$langop_word_underline?></u> <?=$langop_word_text?>.</font></td>
        </tr>
        <tr> 
          <td class="niftycode"><font size="-1">[s]<strong><?=$langop_word_text?></strong>[/s]</font></td>
          <td><font size="-1"><s><?=$langop_word_strikethrough?></s> <?=$langop_word_text?>.</font></td>
        </tr>
        <tr> 
          <th colspan="2"> <div align="left"><font size="-1"><?=$langop_niftytoo_intermform?></font></div></th>
        </tr>
        <tr> 
          <td class="niftycode"><font size="-1">[code]<b><?=$langop_word_text?></b>[/code]</font></td>
          <td><font size="-1"><code><?=$langop_word_preformatted?></code> <?=$langop_word_text?>.</font></td>
        </tr>
        <tr>
          <td class="niftycode"><font size="-1"><strong><?=$langop_niftytoo_chatformat?></strong></font></td>
          <td>&nbsp;</td>
        </tr>
        <tr> 
          <td class="niftycode"><font size="-1">/me <em><?=$langop_word_action?></em></font></td>
          <td><font size="-1"><?=$langop_niftytoo_chatdesc?><br>
            <?=$langop_word_example?>: /me <?=$langop_niftytoo_actions?></font></td>
        </tr>
      </table>
      </td>
  </tr>
</table>
<p align="center"><a onclick="javascript: window.close();" href="#"><font size="-2" face="<?=$fontFace?>">Close 
  this Window</font></a></p>
</body>
Return current item: OekakiPoteto