home *** CD-ROM | disk | FTP | other *** search
/ Chip 1999 September / CHIPCD_9_99.iso / software / serwery_www / websuite / websuite.exe / MYPIC.AP_ / MYPIC.AP
Text File  |  1999-01-12  |  5KB  |  122 lines

  1. <[
  2. // mypic.ap    
  3. // My Picture Active Page
  4. // (c) 1997-98 SmartDesk, Inc., All Rights Reserved.
  5.  
  6. LIBRARY webdesk
  7.  
  8. desk = new( "PrivateDesktop", param( 1 ), param( 2 ) )
  9. if ( type( desk ) != "O" )
  10.     return( 0 )
  11. end
  12.  
  13. TRY
  14.  
  15. ]>
  16. <HTML>
  17. <HEAD>
  18. <TITLE>Customizing My Picture</TITLE>
  19. </HEAD>
  20. <BODY BGCOLOR=<[ ! desk.bclrBody + " TEXT=" + desk.fclrBody + " LINK=" + desk.clrLink + " ALINK=" + desk.clrALink + " VLINK=" + desk.clrVLink ]>>
  21.  
  22. <p>
  23. <CENTER>
  24.  
  25. <[ ! desk.templateHeader( ) ]>
  26.  
  27. <TABLE WIDTH=600 BORDER=0 CELLSPACING=0 CELLPADDING=1>
  28.  <TR BGCOLOR=<[! desk.bclrHdr ]>>
  29.   <TD VALIGN=bottom NOWRAP><FONT SIZE=+1 COLOR=<[ ! desk.fclrHdr + " FACE=" + desk.fontTitle + "><B> " + desk.fname ]>'s Personalized Picture</B></FONT></TD>
  30.   <TD WIDTH=100% ALIGN=right><FONT SIZE=-1 FACE=geneva,arial COLOR=<[ ! desk.fclrHdr + ">" + cdow( jdate( ) ) + ", " + date( "MMMM dd, YYYY " ) + timetostr( time( ), 0 ) + "m" ]></FONT></TD>
  31.  </TR>
  32. </TABLE>
  33.  
  34. <[ ! desk.templateNavBar( ) ]>
  35.  
  36. </CENTER>
  37. </p>
  38.  
  39. <TABLE WIDTH=98% BORDER=0 CELLSPACING=0 CELLPADDING=0>
  40.  <TR VALIGN=top>
  41.   <TD WIDTH=22%>
  42.  
  43.    <TABLE WIDTH=100% BORDER=0 CELLSPACING=0 CELLPADDING=0>
  44.     <TR>
  45.      <TD BGCOLOR=<[! desk.bclrHdr + "> <FONT SIZE=+0 COLOR=" + desk.fclrHdr + " FACE=" + desk.fontHdr ]>><B>Picture</B></FONT></TD>
  46.     </TR>
  47.    </TABLE>
  48.  
  49.    <p><CENTER><img src="mypic.jpg" border=1 width=150 height=180><br><FONT SIZE=2>mypic.jpg (150x180)</FONT></CENTER></p>
  50.  
  51.    <TABLE WIDTH=100% BORDER=0 CELLSPACING=0 CELLPADDING=0>
  52.     <TR>
  53.      <TD BGCOLOR=<[! desk.bclrHdr + "> <FONT SIZE=+0 COLOR=" + desk.fclrHdr + " FACE=" + desk.fontHdr ]>><B>Jump</B></FONT></TD>
  54.     </TR>
  55.    </TABLE>
  56.  
  57.    <p><center><a href="_public.htm"><img src="back.jpg" border=0 width=75 height=30></a></center></p><br><br>
  58.  
  59.   </TD>
  60.   
  61.   <TD NOWRAP WIDTH=13 ALIGN=middle><IMG SRC=vspots.gif WIDTH=1 HEIGHT=249 HSPACE=6><BR>
  62.    <IMG SRC=vspots.gif WIDTH=1 HEIGHT=249 HSPACE=6><BR>
  63.    <IMG SRC=vspots.gif WIDTH=1 HEIGHT=249 HSPACE=6><BR>
  64.    <IMG SRC=vspots.gif WIDTH=1 HEIGHT=249 HSPACE=6><BR>
  65.   </TD>  
  66.   
  67.   <TD WIDTH=77%>
  68.  
  69.    <TABLE WIDTH=100% BORDER=0 CELLSPACING=0 CELLPADDING=0>
  70.     <TR>
  71.      <TD BGCOLOR=<[! desk.bclrHdr + "> <FONT SIZE=+0 COLOR=" + desk.fclrHdr + " FACE=" + desk.fontHdr ]>><B>Details</B></FONT></TD>
  72.     </TR>
  73.    </TABLE>
  74.  
  75.    <p>The picture can be completely customized and used to better identify yourself to your visitors.  If you have a digital image available of yourself, use a program such as Photoshop to create a JPG image having a width of 150 pixels and height of 180 pixels.  Name the file "mypic.jpg" and save it in the "/desktop" directory located beneath your serverÆs home directory.</p>
  76.    <TABLE WIDTH=100% BORDER=0 CELLSPACING=0 CELLPADDING=0>
  77.     <TR>
  78.      <TD WIDTH=340>If you need a digital image created from a still photograph, check with your local photo or copy shop for additional information.  You can also send the image to SmartDesk for processing, such as the image to the right.<br><br>
  79.      The SmartDesk Creative Team can scan your image, digitally add a partial border and drop shadow, and deliver a final image that "snaps" into your personal web desktop.  To utilize this service, mail the desired image along with your name, email address, and any specific instructions to the following address:
  80.      </TD>
  81.      <TD VALIGN=top><img src="mark.jpg" border=0 width=150 height=180></TD>
  82.     </TR>
  83.    </TABLE><pre>
  84.     SmartDesk Creative Services
  85.     c/o SmartDesk, Inc.
  86.     26062 Merit Circle, Suite 106
  87.     Laguna Hills, CA. 92653
  88. </pre>
  89. <p>Be sure to include your e-mail address for delivery of the completed image.
  90. Still photos submitted cannot be returned without a pre-addressed prepaid envelope. Make check or money order payable to SmartDesk, Inc.  
  91. </p>
  92. <pre>
  93.     Pricing:
  94.     
  95.     Standard Service, allow 2 weeks       $15.95
  96.     Priority Service, allow two days      $24.95
  97.     Express Service, same day             $29.95
  98.     
  99.     Additionional Images in same order:   50% OFF
  100.     
  101.     CA residents include 7.75% sales tax.
  102.     Pricing and terms subject to change.
  103.  
  104. </pre>
  105.  
  106.   Don't forget to check out the other SmartDesk creative services available at <a href="http://www.smartdesk.com/creative.html">http://www.smartdesk.com/creative.html</a>.
  107.  
  108.   </TD>
  109.  </TR>
  110. </TABLE>
  111.  
  112.  
  113. </BODY>
  114. </HTML>
  115.  
  116. <[
  117.     CATCH ( err )
  118.         println( 3000, "Error [" + err.errornum + "] at line #" + err.errorline + " (" + ErrorAsText( err.errornum ) + ")" )
  119.         return( 0 )
  120.     END
  121. ]>
  122.