1  <img id="pfc_minmax" onclick="pfc.swap_minimize_maximize()" src="<?php echo $c->getFileUrlFromTheme('images/'.($start_minimized?'maximize':'minimize').'.gif'); ?>" alt=""/>
2  <h2 id="pfc_title"><?php echo $title; ?></h2>
3
4  <div id="pfc_content_expandable">
5
6  <div id="pfc_channels">
7    <ul id="pfc_channels_list"></ul>
8    <div id="pfc_channels_content"></div>
9  </div>
10
11  <div id="pfc_input_container">
12
13    <table style="margin:0;padding:0;border-collapse:collapse;">
14      <tbody>
15      <tr>
16      <td class="pfc_td1">
17        <p id="pfc_handle"
18           <?php if (! $frozen_nick) {
19             echo ' title="' . _pfc("Enter your nickname here") . '"'
20               . ' onclick="pfc.askNick(\'\')"'
21               . ' style="cursor: pointer"';
22           }
23           ?>
24           ><?php echo phpFreeChat::FilterSpecialChar($u->nick); ?></p>
25      </td>
26      <td class="pfc_td2">
27        <input type="text"
28               id="pfc_words"
29               title="<?php echo _pfc("Enter your message here"); ?>"
30               maxlength="<?php echo $max_text_len; ?>"/>
31      </td>
32      <td class="pfc_td3">
33        <input type="button"
34               id="pfc_send"
35               value="<?php echo _pfc("Send"); ?>"
36               title="<?php echo _pfc("Click here to send your message"); ?>"
37               onclick="pfc.doSendMessage()"/>
38      </td>
39      </tr>
40      </tbody>
41    </table>
42
43    <div id="pfc_cmd_container">
44<?php if ($display_pfc_logo) { ?>
45      <a href="http://www.phpfreechat.net"
46         id="pfc_logo"<?php if($openlinknewwindow) echo ' onclick="window.open(this.href,\'_blank\');return false;"'; ?>>
47        <img src="http://www.phpfreechat.net/pub/logo2_80x15.png" width="80" height="15"
48             alt="<?php echo _pfc("PHP FREE CHAT [powered by phpFreeChat-%s]", $version); ?>"
49             title="<?php echo _pfc("PHP FREE CHAT [powered by phpFreeChat-%s]", $version); ?>" />
50      </a>
51<?php } ?>
52
53<?php if ($display_ping) { ?>
54      <span id="pfc_ping" title="<?php echo _pfc("Ping"); ?>"></span>
55<?php } ?>
56
57      <div class="pfc_btn">
58        <img src="<?php echo $c->getFileUrlFromTheme('images/logout.gif'); ?>"
59             alt="" title=""
60             id="pfc_loginlogout"
61             onclick="pfc.connect_disconnect()" />
62      </div>
63
64      <div class="pfc_btn">
65        <img src="<?php echo $c->getFileUrlFromTheme('images/color-on.gif'); ?>"
66             alt="" title=""
67             id="pfc_nickmarker"
68             onclick="pfc.nickmarker_swap()" />
69      </div>
70
71      <div class="pfc_btn">
72        <img src="<?php echo $c->getFileUrlFromTheme('images/clock-on.gif'); ?>"
73             alt="" title=""
74             id="pfc_clock"
75             onclick="pfc.clock_swap()" />
76      </div>
77
78      <div class="pfc_btn">
79        <img src="<?php echo $c->getFileUrlFromTheme('images/sound-on.gif'); ?>"
80             alt="" title=""
81             id="pfc_sound"
82             onclick="pfc.sound_swap()" />
83      </div>
84
85      <?php if ($c->btn_sh_smileys) { ?>
86      <div class="pfc_btn">
87        <img src="<?php echo $c->getFileUrlFromTheme('images/smiley-on.gif'); ?>"
88        alt="" title=""
89        id="pfc_showHideSmileysbtn"
90        onclick="pfc.showHideSmileys()" />
91      </div>
92      <?php } ?>
93
94      <?php if ($c->btn_sh_whosonline) { ?>
95      <div class="pfc_btn">
96        <img src="<?php echo $c->getFileUrlFromTheme('images/online-on.gif'); ?>"
97             alt="" title=""
98             id="pfc_showHideWhosOnlineBtn"
99             onclick="pfc.showHideWhosOnline()" />
100      </div>
101      <?php } ?>
102
103    </div>
104
105    <div id="pfc_bbcode_container">
106      <div id="pfc_bt_strong_btn" class="pfc_btn">
107        <img src="<?php echo $c->getFileUrlFromTheme('images/bt_strong.gif'); ?>"
108             id="pfc_bt_strong"
109             alt="<?php echo _pfc("Bold"); ?>"
110             title="<?php echo _pfc("Bold"); ?>"
111             class="pfc_bt_strong"
112             onclick="pfc.insert_text('[b]','[/b]',true)" />
113      </div>
114      <div id="pfc_bt_italics_btn" class="pfc_btn">
115        <img src="<?php echo $c->getFileUrlFromTheme('images/bt_em.gif'); ?>"
116             id="pfc_bt_italics"
117             alt="<?php echo _pfc("Italics"); ?>"
118             title="<?php echo _pfc("Italics"); ?>"
119             class="pfc_bt_italics"
120             onclick="pfc.insert_text('[i]','[/i]',true)" />
121      </div>
122      <div id="pfc_bt_underline_btn" class="pfc_btn">
123        <img src="<?php echo $c->getFileUrlFromTheme('images/bt_ins.gif'); ?>"
124             id="pfc_bt_underline"
125             alt="<?php echo _pfc("Underline"); ?>"
126             title="<?php echo _pfc("Underline"); ?>"
127             class="pfc_bt_underline"
128             onclick="pfc.insert_text('[u]','[/u]',true)" />
129      </div>
130      <div id="pfc_bt_delete_btn" class="pfc_btn">
131        <img src="<?php echo $c->getFileUrlFromTheme('images/bt_del.gif'); ?>"
132             id="pfc_bt_delete"
133             alt="<?php echo _pfc("Delete"); ?>"
134             title="<?php echo _pfc("Delete"); ?>"
135             class="pfc_bt_delete"
136             onclick="pfc.insert_text('[s]','[/s]',true)" />
137      </div>
138<!--
139      <div id="pfc_bt_mail_btn" class="pfc_btn">
140        <img src="<?php echo $c->getFileUrlFromTheme('images/bt_mail.gif'); ?>"
141             id="pfc_bt_mail"
142             alt="<?php echo _pfc("Mail"); ?>"
143             title="<?php echo _pfc("Mail"); ?>"
144             class="pfc_bt_mail"
145             onclick="pfc.insert_text('[email]','[/email]',true)" />
146      </div>
147-->
148      <div id="pfc_bt_color_btn" class="pfc_btn">
149        <img src="<?php echo $c->getFileUrlFromTheme('images/bt_color.gif'); ?>"
150             alt="<?php echo _pfc("Color"); ?>"
151             title="<?php echo _pfc("Color"); ?>"
152             id="pfc_bt_color"
153             class="pfc_bt_color"
154             onclick="pfc.minimize_maximize('pfc_colorlist','inline')" />
155      </div>
156      <div id="pfc_colorlist"></div>
157    </div> <!-- pfc_bbcode_container -->
158
159  </div>
160
161    <div id="pfc_errors"></div>
162
163    <div id="pfc_smileys"></div>
164
165  </div>
166
167  <div id="pfc_sound_container"></div>
168