[ Index ]
 

Code source de vtiger CRM 5.0.2

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/modules/Contacts/ -> vtchat.php (source)

   1  <?php ?>
   2  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
   3  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
   4  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
   5  
   6  <head>
   7  <meta content="text/html; charset=iso-8859-1" http-equiv="content-type"/>
   8  <meta name="author" content="rolosworld@gmail.com"/>
   9  <meta http-equiv="expires" content="-1"/>
  10  <meta http-equiv="pragma" content="no-cache"/>
  11  
  12  <title>Ajax Css-Popup chat</title>
  13  
  14  <!-- NEEDED SCRIPTS  -->
  15  <script type="text/javascript" charset="iso-8859-1" src="modules/Contacts/js/ajax.js"></script>
  16  <script type="text/javascript" charset="iso-8859-1" src="modules/Contacts/js/dom-drag_p.js"></script>
  17  <script type="text/javascript" charset="iso-8859-1" src="modules/Contacts/js/css-window_p.js"></script>
  18  <script type="text/javascript" charset="iso-8859-1" src="modules/Contacts/js/chat.js"></script>
  19  <!-- /NEEDED SCRIPTS -->
  20  
  21  
  22  <script type="text/javascript">
  23  <!--
  24  function showPopup()
  25  {
  26    var conf = new Array();
  27    conf["dt"] = 1000;
  28    conf["width"] = "400px";
  29    conf["height"] = "300px";
  30    conf["ulid"] = "uli";
  31    conf["pchatid"] = "chat";
  32  
  33  
  34    // USED TO INITIALIZE THE SESSION, I SUGGEST CALLING THIS ON BODY onload
  35    //   Chat(<conf array>);
  36    // NOTICE THE ChatStuff IS THE NAME OF THE ABOVE FUNCTION!!!
  37    var mychat = new Chat(conf);
  38  
  39  }
  40  
  41  -->
  42  </script>
  43  
  44  <!-- CSS classes for the popups -->
  45  <link rel="stylesheet" type="text/css" href="modules/Contacts/chat.css"/>
  46  
  47  </head>
  48  
  49  <body onload="showPopup();" style="background-image:url(modules/Contacts/imgs/site_bg.gif);color:#ffffff;">
  50  
  51  
  52  <!-- THIS IS NEEDED FOR THE USERS LIST TO APPEAR, -->
  53  <!-- THE id CAN BE CHANGED, BUT HAS TO BE PASSED TO UList() -->
  54  <!-- <table>
  55  <tr>    
  56      <td rowspan="2">
  57          
  58          <div id="chat"></div>
  59      </td>
  60      <td class="chatuserlist">User List</td>
  61  
  62  </tr>
  63  <tr>
  64      <td valign="top">
  65          <ul id="uli"></ul>
  66      </td>    
  67  </tr>
  68  </table> -->
  69  <!-- THIS IS NEEDED FOR DEBUG MSG'S TO APPEAR -->
  70  
  71  <table width="550" border="0" cellpadding="0" cellspacing="0">
  72      <tr>
  73          <td valign="top">
  74              <table width="150" border="0" cellpadding="0" cellspacing="0">
  75                  <tr>
  76                      <td class="pchathead"></td>
  77                      <td class="pchathead1"><b><?php echo $mod_strings['User List']; ?></b></td>
  78                      <td class="pchathead2"></td>
  79                  </tr>
  80                  <tr>
  81                      <td class="pchatbody"></td>
  82                      <td class="pchatbody1" style="height: 300px;text-align:left;vertical-align:top;">
  83                          <div class="chatbox" style="overflow-y:auto;overflow-x:hidden; width: 100%; height: 100%;">
  84                              <span id="uli"></span>
  85                          </div>
  86                      </td>
  87                      <td class="pchatbody2"></td>
  88                  </tr>
  89                  <tr>
  90                      <td class="pchatfoot"></td>
  91                      <td class="pchatfoot1"></td>
  92                      <td class="pchatfoot2"></td>
  93                  </tr>
  94              </table>
  95          </td>
  96          <td width="400" valign="top">
  97              <div id="chat"></div>
  98          </td>
  99      </tr>
 100  </table>
 101  
 102  
 103  
 104  <div id="debug"></div>
 105  
 106  </body>
 107  </html>


Généré le : Sun Feb 25 10:22:19 2007 par Balluche grâce à PHPXref 0.7