├── README.md ├── admin ├── agent.php ├── css │ ├── agent.css │ ├── jquery-ui-timepicker-addon.css │ └── simplechat.css ├── footer.php ├── header.php ├── img │ └── sprite.png ├── index.php ├── js │ ├── datetimepicker.js │ └── detect.js ├── loginform.php └── logout.php ├── agent.html ├── agent.php ├── client.html ├── client.php ├── config └── config.json ├── css ├── agent.css ├── all.css ├── button.css ├── button_blue.css ├── button_brown.css ├── button_gray.css ├── button_green.css ├── button_lightgray.css ├── button_lightred.css ├── button_orange.css ├── cloud.css ├── fontawesome-webfont.eot ├── fontawesome-webfont.ttf ├── fontawesome-webfont.woff ├── fonts │ ├── fontawesome-webfont3e6e.eot │ ├── fontawesome-webfont3e6e.html │ ├── fontawesome-webfont3e6e.svg │ ├── fontawesome-webfont3e6e.ttf │ ├── fontawesome-webfont3e6e.woff │ ├── fontawesome-webfontd41d.eot │ ├── themify9f24.eot │ ├── themify9f24.svg │ ├── themify9f24.ttf │ ├── themify9f24.woff │ └── themifyd41d.eot ├── formito.css ├── jquery-ui-timepicker-addon.css ├── jquery.rateit.min.js.map ├── rateit.css ├── room.css ├── roomconference.css ├── simplechat.css └── sky-forms.css ├── demo.htaccess ├── doc ├── assets │ ├── .DS_Store │ └── blueprint-css │ │ ├── ie.css │ │ ├── plugins │ │ ├── .DS_Store │ │ └── fancy-type │ │ │ ├── readme.txt │ │ │ └── screen.css │ │ ├── print.css │ │ └── screen.css └── index.html ├── extensions ├── screenshare │ └── chrome │ │ ├── background.js │ │ ├── content.js │ │ ├── icon.png │ │ ├── icon128.png │ │ ├── icon16.png │ │ ├── icon48.png │ │ └── manifest.json └── wordpress │ ├── assets │ ├── banner-772x250.png │ └── icon-128x128.png │ └── trunk │ ├── livesmart-plugin.php │ ├── readme.md │ └── readme.txt ├── favicon.ico ├── img ├── arrow-dr-down.png ├── audio_call.png ├── audio_call_hover.png ├── avatar.png ├── block.png ├── camera_flip.png ├── camera_small.png ├── chat_small.png ├── chaticon.png ├── check.png ├── chrome.png ├── chromefirefox_icons.png ├── clearcanvas.png ├── close.png ├── delete.gif ├── exit.png ├── file_transfer.png ├── firefox.png ├── grant.png ├── hangup_big.png ├── icon-but.png ├── icon-recording-off.png ├── icon-recording-on.png ├── ie_plugin.png ├── listusers.png ├── logo.png ├── maximize.png ├── minimize.png ├── next-camera.png ├── novideoaudio.png ├── offline.png ├── online.png ├── permission_chrome.png ├── permission_chrome_video.png ├── permission_error_chrome.png ├── permission_error_firefox.png ├── permission_firefox.png ├── permission_firefox_video.png ├── permission_ie.png ├── raisehand.png ├── recording.png ├── revoke.png ├── safari_download.jpg ├── screenshare.png ├── screensharestop.png ├── send.png ├── small-avatar.jpg ├── sprite.png ├── star.gif ├── swipe_left.png ├── swipe_right.png ├── video-avatar.jpg ├── video-wait.jpg ├── video_call.png ├── video_call_hover.png ├── wd-chat-big.png ├── whiteboard.png └── whiteboard │ ├── arc.png │ ├── arrow.png │ ├── brush.png │ ├── colorsPicker.png │ ├── dragMultiple.png │ ├── dragSingle.png │ ├── eraser.png │ ├── extraOptions.png │ ├── image.png │ ├── line.png │ ├── lineWidth.png │ ├── pdf.png │ ├── pencil.png │ ├── rectangle.png │ ├── text.png │ ├── undo.png │ ├── zoom_in.png │ └── zoom_out.png ├── js ├── additional.js ├── bundle.client.js ├── bundle.js ├── canvas-designer-widget.js ├── datetimepicker.js ├── detect.js ├── jquery.rateit.js ├── loader.js ├── loader.v2.js ├── msr.js ├── rmc.js ├── room.js ├── translator.js ├── whiteboard.widget.js └── widget.js ├── locales └── en_US.json ├── media ├── msgtone.mp3 └── ringtone.mp3 ├── pages ├── button.html ├── r.html ├── room.html ├── version.txt ├── w.html ├── whiteboard.html └── widget.html ├── routes.php ├── server ├── connect.php ├── dump_2.0.1.sql ├── saverecord.php └── script.php └── ws ├── server ├── config.json ├── logs.json ├── node_scripts │ ├── BASH_COLORS_HELPER.js │ ├── CONST_STRINGS.js │ ├── Scalable-Broadcast.js │ ├── Signaling-Server.js │ ├── after-http-listen.js │ ├── before-http-listen.js │ ├── get-bash-parameters.js │ ├── get-values-from-config-json.js │ ├── getJsonFile.js │ ├── index.js │ ├── pushLogs.js │ ├── resolveURL.js │ └── verify-admin.js ├── package.json └── server.js └── ssl ├── cert.pem └── key.pem /README.md: -------------------------------------------------------------------------------- 1 | # Chating_script 2 | Chating_script 3 | -------------------------------------------------------------------------------- /admin/css/agent.css: -------------------------------------------------------------------------------- 1 | body { 2 | font-family: 'Ubuntu', sans-serif; 3 | font-size: 12px !important; 4 | background-color: #f1f2f4; 5 | } 6 | 7 | .messages { 8 | background: white; 9 | padding: 10px; 10 | border-radius: 2px; 11 | box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); 12 | max-width:100%; 13 | } 14 | .messages > p { 15 | font-size: 13px; 16 | margin: 0 0 0.2rem 0; 17 | word-wrap: break-word 18 | } 19 | .messages > time { 20 | font-size: 11px; 21 | color: #ccc; 22 | } 23 | 24 | #visitors { 25 | padding-top: 60px; 26 | } 27 | 28 | #statusbar { 29 | display: none; 30 | min-width: 250px; 31 | margin-left: -125px; 32 | background-color: #484d75; 33 | color: #fff; 34 | text-align: center; 35 | border-radius: 2px; 36 | padding: 16px; 37 | position: fixed; 38 | z-index: 1; 39 | right: 0; 40 | top: 110px; 41 | } 42 | 43 | .divGenerate { 44 | background-color: #fff; 45 | width: 1300px; 46 | font-size: 12px; 47 | float: right; 48 | padding: 5px; 49 | } 50 | 51 | .divGenerate input { 52 | outline: none; 53 | -moz-border-radius: 4px; 54 | -webkit-border-radius: 4px; 55 | -khtml-border-radius: 4px; 56 | border-radius: 4px; 57 | background: #f5f5f5; 58 | width: 120px; 59 | height: 30px; 60 | border: 1px solid #ffffff; 61 | color: #404040; 62 | font-size: 13px; 63 | padding: 0 5px ; 64 | } 65 | .divGenerate select { 66 | outline: none; 67 | -moz-border-radius: 4px; 68 | -webkit-border-radius: 4px; 69 | -khtml-border-radius: 4px; 70 | border-radius: 4px; 71 | background: #f5f5f5; 72 | width: 120px; 73 | height: 30px; 74 | border: 1px solid #ffffff; 75 | color: #404040; 76 | font-size: 13px; 77 | padding: 0 5px ; 78 | } 79 | 80 | .divGenerate input[type=text]:focus { 81 | border: 1px solid #484d75; 82 | } 83 | 84 | .divGenerate select:focus { 85 | border: 1px solid #484d75; 86 | } 87 | 88 | .generateButton { 89 | -moz-box-shadow:inset 0px 1px 3px 0px #91b8b3; 90 | -webkit-box-shadow:inset 0px 1px 3px 0px #91b8b3; 91 | box-shadow:inset 0px 1px 3px 0px #91b8b3; 92 | background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #768d87), color-stop(1, #6c7c7c)); 93 | background:-moz-linear-gradient(top, #768d87 5%, #6c7c7c 100%); 94 | background:-webkit-linear-gradient(top, #768d87 5%, #6c7c7c 100%); 95 | background:-o-linear-gradient(top, #768d87 5%, #6c7c7c 100%); 96 | background:-ms-linear-gradient(top, #768d87 5%, #6c7c7c 100%); 97 | background:linear-gradient(to bottom, #768d87 5%, #6c7c7c 100%); 98 | filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#768d87', endColorstr='#6c7c7c',GradientType=0); 99 | background-color:#768d87; 100 | -moz-border-radius:5px; 101 | -webkit-border-radius:5px; 102 | border-radius:5px; 103 | border:1px solid #566963; 104 | display:inline-block; 105 | cursor:pointer; 106 | color:#ffffff !important; 107 | font-family:Arial; 108 | font-size:14px; 109 | font-weight:bold; 110 | padding:6px 15px; 111 | text-decoration:none; 112 | text-shadow:0px -1px 0px #2b665e; 113 | float: right; 114 | margin-left: 2px; 115 | } 116 | .generateButton:hover { 117 | background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #6c7c7c), color-stop(1, #768d87)); 118 | background:-moz-linear-gradient(top, #6c7c7c 5%, #768d87 100%); 119 | background:-webkit-linear-gradient(top, #6c7c7c 5%, #768d87 100%); 120 | background:-o-linear-gradient(top, #6c7c7c 5%, #768d87 100%); 121 | background:-ms-linear-gradient(top, #6c7c7c 5%, #768d87 100%); 122 | background:linear-gradient(to bottom, #6c7c7c 5%, #768d87 100%); 123 | filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#6c7c7c', endColorstr='#768d87',GradientType=0); 124 | background-color:#6c7c7c; 125 | } 126 | .generateButton:active { 127 | position:relative; 128 | top:1px; 129 | } 130 | 131 | 132 | #login-form { 133 | width: 300px; 134 | height: 250px; 135 | margin: 0 auto 60px; 136 | padding: 10px 20px; 137 | background-color: #FFF; 138 | border-radius: 4px; 139 | border: #333 1px solid; 140 | 141 | } 142 | 143 | .frm-field { 144 | padding-top: 20px; 145 | } 146 | 147 | #error{ 148 | color: #B24926; 149 | margin-left:15px; 150 | } 151 | 152 | table { 153 | font-size: 12px !important; 154 | } 155 | 156 | .logininput { 157 | margin-bottom: 10px; 158 | padding: 10px; 159 | width: 250px; 160 | border-radius: 4px; 161 | border: #A0A0A0 1px solid; 162 | } 163 | 164 | .welcome { 165 | font-size: 13px; 166 | float: right; 167 | z-index: 999999999; 168 | } 169 | 170 | #tabs { 171 | top: 20px; 172 | } 173 | 174 | @-webkit-keyframes fadein { 175 | from {right: 0; opacity: 0;} 176 | to {top: 90px; opacity: 1;} 177 | } 178 | 179 | @keyframes fadein { 180 | from {right: 0; opacity: 0;} 181 | to {top: 90px; opacity: 1;} 182 | } 183 | 184 | @-webkit-keyframes fadeout { 185 | from {top: 90px; opacity: 1;} 186 | to {right: 0; opacity: 0;} 187 | } 188 | 189 | @keyframes fadeout { 190 | from {top: 90px; opacity: 1;} 191 | to {right: 0; opacity: 0;} 192 | } -------------------------------------------------------------------------------- /admin/css/jquery-ui-timepicker-addon.css: -------------------------------------------------------------------------------- 1 | .ui-timepicker-div .ui-widget-header { margin-bottom: 8px; } 2 | .ui-timepicker-div dl { text-align: left; } 3 | .ui-timepicker-div dl dt { float: left; clear:left; padding: 0 0 0 5px; } 4 | .ui-timepicker-div dl dd { margin: 0 10px 10px 40%; } 5 | .ui-timepicker-div td { font-size: 90%; } 6 | .ui-tpicker-grid-label { background: none; border: none; margin: 0; padding: 0; } 7 | .ui-timepicker-div .ui_tpicker_unit_hide{ display: none; } 8 | 9 | .ui-timepicker-div .ui_tpicker_time .ui_tpicker_time_input { background: none; color: inherit; border: none; outline: none; border-bottom: solid 1px #555; width: 95%; } 10 | .ui-timepicker-div .ui_tpicker_time .ui_tpicker_time_input:focus { border-bottom-color: #aaa; } 11 | 12 | .ui-timepicker-rtl{ direction: rtl; } 13 | .ui-timepicker-rtl dl { text-align: right; padding: 0 5px 0 0; } 14 | .ui-timepicker-rtl dl dt{ float: right; clear: right; } 15 | .ui-timepicker-rtl dl dd { margin: 0 40% 10px 10px; } 16 | 17 | /* Shortened version style */ 18 | .ui-timepicker-div.ui-timepicker-oneLine { padding-right: 2px; } 19 | .ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_time, 20 | .ui-timepicker-div.ui-timepicker-oneLine dt { display: none; } 21 | .ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_time_label { display: block; padding-top: 2px; } 22 | .ui-timepicker-div.ui-timepicker-oneLine dl { text-align: right; } 23 | .ui-timepicker-div.ui-timepicker-oneLine dl dd, 24 | .ui-timepicker-div.ui-timepicker-oneLine dl dd > div { display:inline-block; margin:0; } 25 | .ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_minute:before, 26 | .ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_second:before { content:':'; display:inline-block; } 27 | .ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_millisec:before, 28 | .ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_microsec:before { content:'.'; display:inline-block; } 29 | .ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_unit_hide, 30 | .ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_unit_hide:before{ display: none; } -------------------------------------------------------------------------------- /admin/css/simplechat.css: -------------------------------------------------------------------------------- 1 | #chats-lsv-admin { 2 | position: absolute; 3 | right: 0px; 4 | bottom: 0px; 5 | } 6 | 7 | .msger-lsv { 8 | font-size: 14px; 9 | float: right; 10 | flex-flow: column wrap; 11 | justify-content: space-between; 12 | width: 300px; 13 | margin: 25px 10px; 14 | height: 420px; 15 | border: 2px solid #ddd; 16 | border-radius: 5px; 17 | background: #fff; 18 | box-shadow: 0 15px 15px -5px rgba(0, 0, 0, 0.2); 19 | } 20 | 21 | .msger-lsv-widget { 22 | font-size: 14px; 23 | position: fixed; 24 | bottom: 10px; 25 | right: 10px; 26 | flex-flow: column wrap; 27 | justify-content: space-between; 28 | width: 300px; 29 | margin: 25px 10px; 30 | height: 420px; 31 | border: 2px solid #ddd; 32 | border-radius: 5px; 33 | background: #fff; 34 | box-shadow: 0 15px 15px -5px rgba(0, 0, 0, 0.2); 35 | } 36 | 37 | .msger-lsv-header { 38 | display: flex; 39 | justify-content: space-between; 40 | padding: 10px; 41 | border-bottom: 2px solid #ddd; 42 | background: #eee; 43 | color: #666; 44 | } 45 | 46 | .msger-lsv-chat { 47 | flex: 1; 48 | overflow-y: auto; 49 | padding: 10px; 50 | } 51 | .msger-lsv-chat::-webkit-scrollbar { 52 | width: 6px; 53 | } 54 | .msger-lsv-chat::-webkit-scrollbar-track { 55 | background: #ddd; 56 | } 57 | .msger-chat::-webkit-scrollbar-thumb { 58 | background: #bdbdbd; 59 | } 60 | .msg-lsv { 61 | display: flex; 62 | align-items: flex-end; 63 | margin-bottom: 10px; 64 | } 65 | .msg-lsv:last-of-type { 66 | margin: 0; 67 | } 68 | 69 | .msg-lsv-bubble { 70 | max-width: 450px; 71 | padding: 10px; 72 | border-radius: 10px; 73 | background: #f5f6f7; 74 | } 75 | .msg-lsv-info { 76 | display: flex; 77 | justify-content: space-between; 78 | align-items: center; 79 | margin-bottom: 10px; 80 | } 81 | .msg-lsv-info-name { 82 | margin-right: 10px; 83 | font-weight: bold; 84 | } 85 | .msg-lsv-info-time { 86 | font-size: 0.85em; 87 | } 88 | 89 | .left-msg-lsv .msg-lsv-bubble { 90 | border-bottom-left-radius: 0; 91 | } 92 | 93 | .right-msg-lsv { 94 | flex-direction: row-reverse; 95 | } 96 | .right-msg-lsv .msg-lsv-bubble { 97 | background: #48b0f7; 98 | color: #fff; 99 | border-bottom-right-radius: 0; 100 | } 101 | 102 | .msger-lsv-inputarea { 103 | display: flex; 104 | padding: 10px; 105 | border-top: 2px solid #ddd; 106 | background: #eee; 107 | } 108 | .msger-lsv-inputarea * { 109 | padding: 10px; 110 | border: none; 111 | border-radius: 3px; 112 | font-size: 1em; 113 | } 114 | .msger-lsv-input { 115 | flex: 1; 116 | background: #ddd; 117 | } 118 | .msger-lsv-send-btn { 119 | margin-left: 10px; 120 | border-radius: 8px; 121 | width: 82px; 122 | height: 50px; 123 | display: block; 124 | border: none; 125 | background-color: #484d75; 126 | color: #fff; 127 | font-size: 13px; 128 | text-transform: uppercase; 129 | cursor: pointer; 130 | } 131 | 132 | 133 | .msger-lsv-chat { 134 | height: 285px; 135 | background-color: #fcfcfe; 136 | border: 2px solid #ddd; 137 | } 138 | 139 | 140 | 141 | .close-but-wd-small { 142 | display: block; 143 | color: #fff; 144 | background-color: #415E6E; 145 | -moz-border-radius: 4px; 146 | -webkit-border-radius: 4px; 147 | -khtml-border-radius: 4px; 148 | border-radius: 4px; 149 | font-size: 12px; 150 | text-transform: uppercase; 151 | background: none !important; 152 | } 153 | 154 | 155 | .close-but-wd-small-widget { 156 | display: block; 157 | color: #fff; 158 | background-color: #415E6E; 159 | -moz-border-radius: 4px; 160 | -webkit-border-radius: 4px; 161 | -khtml-border-radius: 4px; 162 | border-radius: 4px; 163 | font-size: 12px; 164 | text-transform: uppercase; 165 | position: absolute !important; 166 | right: 5px; 167 | background: none !important; 168 | } 169 | 170 | 171 | .close-but-wd-small span { 172 | width: 18px; 173 | height: 18px; 174 | display: block; 175 | margin-left: 0px; 176 | float: right; 177 | background: url(../img/sprite.png) no-repeat scroll -150px -510px; 178 | } 179 | 180 | .close-but-wd-small-widget span { 181 | width: 18px; 182 | height: 18px; 183 | display: block; 184 | margin-left: 0px; 185 | float: right; 186 | background: url(../img/sprite.png) no-repeat scroll -150px -510px; 187 | } -------------------------------------------------------------------------------- /admin/footer.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /admin/header.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | LiveSmart Agent Dashboard 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /admin/img/sprite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/admin/img/sprite.png -------------------------------------------------------------------------------- /admin/index.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
5 |
6 |
7 | 8 |
9 |
10 |
11 | 12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 | 44 | -------------------------------------------------------------------------------- /agent.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | LiveSmart Agent Board 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 45 | 46 |
Date: Duration:
Agent Name: Agent Short URL:
Visitor Name: Visitor Short URL:
Room: Password:
41 | Generate Broadcast 42 | Save Link 43 | Generate Video 44 |
47 |
48 | 49 |
50 |
51 | 52 |
53 | 54 | 106 | 107 | 108 | -------------------------------------------------------------------------------- /agent.php: -------------------------------------------------------------------------------- 1 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | LiveSmart Agent Board 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 52 | 53 |
Date: Duration:
Agent Name: Agent Short URL:
Visitor Name: Visitor Short URL:
Room: Password:
48 | Generate Broadcast 49 | Save Link 50 | Generate Video 51 |
54 |
55 | 56 |
57 |
58 | 59 |
60 | 61 | 113 | 114 | 115 | -------------------------------------------------------------------------------- /client.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | LiveSmart Client 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /client.php: -------------------------------------------------------------------------------- 1 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | LiveSmart Client 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /config/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "agentName": "John Doe", 3 | "agentAvatar": "../img/avatar.png", 4 | "chromePluginId": "nphkdpfdiidjglfcplkpkdjpdlpmkdpg", 5 | "smartVideoLanguage": "en_US", 6 | "anonVisitor": "Visitor", 7 | "entryForm": { 8 | "enabled": false, 9 | "required": false, 10 | "private": false, 11 | "showEmail": false, 12 | "showAvatar": false 13 | }, 14 | "appWss": "https://YOUR_DOMAIN:9001/", 15 | "recording": { 16 | "enabled": false, 17 | "download": false, 18 | "saveServer": false, 19 | "autoStart": false, 20 | "screen": false, 21 | "oneWay": false 22 | }, 23 | "whiteboard": { 24 | "enabled": false, 25 | "allowAnonymous": false 26 | }, 27 | "transcribe": { 28 | "enabled": false, 29 | "language": "en", 30 | "languageTo": "", 31 | "apiKey": "", 32 | "direction": "agent" 33 | }, 34 | "videoScreen": { 35 | "chat": false, 36 | "autoAcceptAudio": false, 37 | "autoAcceptVideo": false, 38 | "greenRoom": false, 39 | "waitingRoom": false, 40 | "onlyAgentButtons": false, 41 | "videoContainerStyle": "conference", 42 | "videoConference": true, 43 | "getSnapshot": false, 44 | "videoConstraint" : {"width": {"min": 640, "ideal": 640, "max": 640}, "height": {"min": 400, "ideal": 400, "max": 400}, "frameRate": { "max": 30 }, "aspectRatio": {"ideal": 1.7777777778}}, 45 | "audioConstraint" : {"sampleSize": 16, "channelCount": 2}, 46 | "screenConstraint" : {"maxWidth": 1920, "maxHeight": 1080} 47 | }, 48 | "serverSide": { 49 | "loginForm": false, 50 | "chatHistory": false, 51 | "agentInfo": false, 52 | "token": false, 53 | "feedback": false, 54 | "roomInfo": false 55 | }, 56 | "iceServers": { 57 | "iceServers": [ 58 | {"urls": [ 59 | "stun:stun.l.google.com:19302" 60 | ]} 61 | ] 62 | } 63 | } -------------------------------------------------------------------------------- /css/agent.css: -------------------------------------------------------------------------------- 1 | body { 2 | font-family: 'Ubuntu', sans-serif; 3 | font-size: 12px; 4 | } 5 | 6 | .messages { 7 | background: white; 8 | padding: 10px; 9 | border-radius: 2px; 10 | box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); 11 | max-width:100%; 12 | } 13 | .messages > p { 14 | font-size: 13px; 15 | margin: 0 0 0.2rem 0; 16 | word-wrap: break-word 17 | } 18 | .messages > time { 19 | font-size: 11px; 20 | color: #ccc; 21 | } 22 | 23 | #visitors { 24 | padding-top: 60px; 25 | } 26 | 27 | #statusbar { 28 | display: none; 29 | min-width: 250px; 30 | margin-left: -125px; 31 | background-color: #484d75; 32 | color: #fff; 33 | text-align: center; 34 | border-radius: 2px; 35 | padding: 16px; 36 | position: fixed; 37 | z-index: 1; 38 | right: 0; 39 | top: 110px; 40 | } 41 | 42 | .divGenerate { 43 | background-color: #fff; 44 | width: 500px; 45 | font-size: 12px; 46 | float: right; 47 | } 48 | 49 | .divGenerate input { 50 | outline: none; 51 | -moz-border-radius: 4px; 52 | -webkit-border-radius: 4px; 53 | -khtml-border-radius: 4px; 54 | border-radius: 4px; 55 | background: #f5f5f5; 56 | width: 120px; 57 | height: 30px; 58 | border: 1px solid #ffffff; 59 | color: #404040; 60 | font-size: 13px; 61 | padding: 0 5px ; 62 | } 63 | .divGenerate select { 64 | outline: none; 65 | -moz-border-radius: 4px; 66 | -webkit-border-radius: 4px; 67 | -khtml-border-radius: 4px; 68 | border-radius: 4px; 69 | background: #f5f5f5; 70 | width: 120px; 71 | height: 30px; 72 | border: 1px solid #ffffff; 73 | color: #404040; 74 | font-size: 13px; 75 | padding: 0 5px ; 76 | } 77 | 78 | .divGenerate input[type=text]:focus { 79 | border: 1px solid #484d75; 80 | } 81 | 82 | .divGenerate select:focus { 83 | border: 1px solid #484d75; 84 | } 85 | 86 | .generateButton { 87 | -moz-box-shadow:inset 0px 1px 3px 0px #91b8b3; 88 | -webkit-box-shadow:inset 0px 1px 3px 0px #91b8b3; 89 | box-shadow:inset 0px 1px 3px 0px #91b8b3; 90 | background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #768d87), color-stop(1, #6c7c7c)); 91 | background:-moz-linear-gradient(top, #768d87 5%, #6c7c7c 100%); 92 | background:-webkit-linear-gradient(top, #768d87 5%, #6c7c7c 100%); 93 | background:-o-linear-gradient(top, #768d87 5%, #6c7c7c 100%); 94 | background:-ms-linear-gradient(top, #768d87 5%, #6c7c7c 100%); 95 | background:linear-gradient(to bottom, #768d87 5%, #6c7c7c 100%); 96 | filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#768d87', endColorstr='#6c7c7c',GradientType=0); 97 | background-color:#768d87; 98 | -moz-border-radius:5px; 99 | -webkit-border-radius:5px; 100 | border-radius:5px; 101 | border:1px solid #566963; 102 | display:inline-block; 103 | cursor:pointer; 104 | color:#ffffff; 105 | font-family:Arial; 106 | font-size:15px; 107 | font-weight:bold; 108 | padding:11px 23px; 109 | text-decoration:none; 110 | text-shadow:0px -1px 0px #2b665e; 111 | float: right; 112 | margin-left: 2px; 113 | } 114 | .generateButton:hover { 115 | background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #6c7c7c), color-stop(1, #768d87)); 116 | background:-moz-linear-gradient(top, #6c7c7c 5%, #768d87 100%); 117 | background:-webkit-linear-gradient(top, #6c7c7c 5%, #768d87 100%); 118 | background:-o-linear-gradient(top, #6c7c7c 5%, #768d87 100%); 119 | background:-ms-linear-gradient(top, #6c7c7c 5%, #768d87 100%); 120 | background:linear-gradient(to bottom, #6c7c7c 5%, #768d87 100%); 121 | filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#6c7c7c', endColorstr='#768d87',GradientType=0); 122 | background-color:#6c7c7c; 123 | } 124 | .generateButton:active { 125 | position:relative; 126 | top:1px; 127 | } 128 | 129 | @-webkit-keyframes fadein { 130 | from {right: 0; opacity: 0;} 131 | to {top: 90px; opacity: 1;} 132 | } 133 | 134 | @keyframes fadein { 135 | from {right: 0; opacity: 0;} 136 | to {top: 90px; opacity: 1;} 137 | } 138 | 139 | @-webkit-keyframes fadeout { 140 | from {top: 90px; opacity: 1;} 141 | to {right: 0; opacity: 0;} 142 | } 143 | 144 | @keyframes fadeout { 145 | from {top: 90px; opacity: 1;} 146 | to {right: 0; opacity: 0;} 147 | } -------------------------------------------------------------------------------- /css/button.css: -------------------------------------------------------------------------------- 1 | /* customize the design of the widget button */ 2 | 3 | .nd-widget-container .clearfix { 4 | display: block; 5 | } 6 | 7 | .nd-widget-container img { 8 | border: none; 9 | } 10 | 11 | .nd-widget-container ul { 12 | list-style: none; 13 | } 14 | 15 | .nd-widget-container a { 16 | text-decoration: none !important; 17 | cursor: pointer !important; 18 | } 19 | 20 | .nd-widget-container a:hover { 21 | } 22 | 23 | .nd-widget-container p { 24 | margin: auto; 25 | } 26 | 27 | .newdev_widget_div { 28 | font-family: 'Ubuntu', sans-serif; 29 | } 30 | 31 | .newdev_widget_msg { 32 | font-size: 15px; 33 | font-weight: bold; 34 | color:#ffffff; 35 | } 36 | 37 | 38 | .widget-but { 39 | position: relative; 40 | display: block; 41 | /*height: 30px;*/ 42 | line-height: 30px; 43 | -moz-box-shadow:inset 0px 1px 0px 0px #bee2f9; 44 | -webkit-box-shadow:inset 0px 1px 0px 0px #bee2f9; 45 | box-shadow:inset 0px 1px 0px 0px #bee2f9; 46 | background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #63b8ee), color-stop(1, #468ccf)); 47 | background:-moz-linear-gradient(top, #63b8ee 5%, #468ccf 100%); 48 | background:-webkit-linear-gradient(top, #63b8ee 5%, #468ccf 100%); 49 | background:-o-linear-gradient(top, #63b8ee 5%, #468ccf 100%); 50 | background:-ms-linear-gradient(top, #63b8ee 5%, #468ccf 100%); 51 | background:linear-gradient(to bottom, #63b8ee 5%, #468ccf 100%); 52 | filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#63b8ee', endColorstr='#468ccf',GradientType=0); 53 | background-color:#63b8ee; 54 | -moz-border-radius:6px; 55 | -webkit-border-radius:6px; 56 | border-radius:6px; 57 | border:1px solid #3866a3; 58 | display:inline-block; 59 | cursor:pointer; 60 | color:#14396a; 61 | font-size: 15px; 62 | font-weight: bold; 63 | padding:6px 14px; 64 | text-decoration:none; 65 | text-shadow:0px 1px 0px #7cacde; 66 | } 67 | .widget-but:hover { 68 | background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #468ccf), color-stop(1, #63b8ee)); 69 | background:-moz-linear-gradient(top, #468ccf 5%, #63b8ee 100%); 70 | background:-webkit-linear-gradient(top, #468ccf 5%, #63b8ee 100%); 71 | background:-o-linear-gradient(top, #468ccf 5%, #63b8ee 100%); 72 | background:-ms-linear-gradient(top, #468ccf 5%, #63b8ee 100%); 73 | background:linear-gradient(to bottom, #468ccf 5%, #63b8ee 100%); 74 | filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#468ccf', endColorstr='#63b8ee',GradientType=0); 75 | background-color:#468ccf; 76 | } 77 | .widget-but:active { 78 | position:relative; 79 | top:1px; 80 | } 81 | .icon-bnt { 82 | width: 22px; 83 | height: 30px; 84 | float: left; 85 | margin-right: 5px; 86 | background: url(../img/icon-but.png) no-repeat center; 87 | } 88 | 89 | .online-bnt { 90 | position: absolute; 91 | top: -5px; 92 | right: -5px; 93 | width: 16px; 94 | height: 16px; 95 | background: url(../img/online.png) no-repeat; 96 | } 97 | 98 | .offline-bnt { 99 | position: absolute; 100 | top: -5px; 101 | right: -5px; 102 | width: 16px; 103 | height: 16px; 104 | background: url(../img/offline.png) no-repeat; 105 | } 106 | 107 | #widget_tooltip_container { 108 | position: absolute; 109 | width: 150px; 110 | z-index: 999999; 111 | } 112 | 113 | 114 | .modal-left-s { 115 | font-size: 12px; 116 | font-style: normal; 117 | font-weight: normal; 118 | text-shadow: none; 119 | color: #000; 120 | -webkit-border-radius: 2px; 121 | -khtml-border-radius: 2px; 122 | border-radius: 2px; 123 | border:1px solid #f5f5f5; 124 | width: 150px; 125 | padding: 12px; 126 | background-color: #fff; 127 | } 128 | 129 | .modal-left-s p { 130 | padding: 5px; 131 | font-size: 12px; 132 | } 133 | 134 | .modal-left-s button { 135 | -webkit-border-radius: 8px; 136 | -khtml-border-radius: 8px; 137 | border-radius: 8px; 138 | width: 100px; 139 | height: 30px; 140 | display: block; 141 | border: none; 142 | background-color: #484d75; 143 | color: #fff; 144 | margin: 5px 22px; 145 | cursor: pointer; 146 | } 147 | 148 | .modal-left-s textarea { 149 | -webkit-border-radius: 8px; 150 | -khtml-border-radius: 8px; 151 | border-radius: 8px; 152 | background: #f5f5f5; 153 | width: 150px; 154 | height: 60px; 155 | color: #000; 156 | border:1px solid #3866a3; 157 | font-size: 10px; 158 | padding: 2px; 159 | } -------------------------------------------------------------------------------- /css/button_blue.css: -------------------------------------------------------------------------------- 1 | /* customize the design of the widget button */ 2 | 3 | .nd-widget-container .clearfix { 4 | display: block; 5 | } 6 | 7 | .nd-widget-container img { 8 | border: none; 9 | } 10 | 11 | .nd-widget-container ul { 12 | list-style: none; 13 | } 14 | 15 | .nd-widget-container a { 16 | text-decoration: none !important; 17 | cursor: pointer !important; 18 | } 19 | 20 | .nd-widget-container a:hover { 21 | } 22 | 23 | .nd-widget-container p { 24 | margin: auto; 25 | } 26 | 27 | .newdev_widget_div { 28 | font-family: 'Ubuntu', sans-serif; 29 | } 30 | 31 | .newdev_widget_msg { 32 | font-size: 15px; 33 | font-weight: bold; 34 | color:#fff; 35 | text-decoration:none; 36 | text-shadow:0px 1px 0px #154682; 37 | } 38 | 39 | .widget-but { 40 | position: relative; 41 | display: block; 42 | /*height: 40px;*/ 43 | line-height: 40px; 44 | color: #fff; 45 | -moz-box-shadow:inset 0px 1px 0px 0px #54a3f7; 46 | -webkit-box-shadow:inset 0px 1px 0px 0px #54a3f7; 47 | box-shadow:inset 0px 1px 0px 0px #54a3f7; 48 | background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #007dc1), color-stop(1, #0061a7)); 49 | background:-moz-linear-gradient(top, #007dc1 5%, #0061a7 100%); 50 | background:-webkit-linear-gradient(top, #007dc1 5%, #0061a7 100%); 51 | background:-o-linear-gradient(top, #007dc1 5%, #0061a7 100%); 52 | background:-ms-linear-gradient(top, #007dc1 5%, #0061a7 100%); 53 | background:linear-gradient(to bottom, #007dc1 5%, #0061a7 100%); 54 | filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#007dc1', endColorstr='#0061a7',GradientType=0); 55 | background-color:#007dc1; 56 | -moz-border-radius:3px; 57 | -webkit-border-radius:3px; 58 | border-radius:3px; 59 | border:1px solid #124d77; 60 | display:inline-block; 61 | cursor:pointer; 62 | padding: 0 20px 0 10px; 63 | font-size: 15px; 64 | font-weight: bold; 65 | text-decoration:none; 66 | text-shadow:0px 1px 0px #154682; 67 | } 68 | .widget-but:hover { 69 | background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #0061a7), color-stop(1, #007dc1)); 70 | background:-moz-linear-gradient(top, #0061a7 5%, #007dc1 100%); 71 | background:-webkit-linear-gradient(top, #0061a7 5%, #007dc1 100%); 72 | background:-o-linear-gradient(top, #0061a7 5%, #007dc1 100%); 73 | background:-ms-linear-gradient(top, #0061a7 5%, #007dc1 100%); 74 | background:linear-gradient(to bottom, #0061a7 5%, #007dc1 100%); 75 | filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#0061a7', endColorstr='#007dc1',GradientType=0); 76 | background-color:#0061a7; 77 | } 78 | .widget-but:active { 79 | position:relative; 80 | top:1px; 81 | } 82 | 83 | .icon-bnt { 84 | width: 22px; 85 | height: 40px; 86 | float: left; 87 | margin-right: 5px; 88 | background: url(../img/icon-but.png) no-repeat center; 89 | } 90 | 91 | .online-bnt { 92 | position: absolute; 93 | top: -5px; 94 | right: -5px; 95 | width: 16px; 96 | height: 16px; 97 | background: url(../img/online.png) no-repeat; 98 | } 99 | 100 | .offline-bnt { 101 | position: absolute; 102 | top: -5px; 103 | right: -5px; 104 | width: 16px; 105 | height: 16px; 106 | background: url(../img/offline.png) no-repeat; 107 | } 108 | 109 | #widget_tooltip_container { 110 | position: absolute; 111 | width: 150px; 112 | z-index: 999999; 113 | } 114 | 115 | 116 | .modal-left-s { 117 | font-size: 12px; 118 | font-style: normal; 119 | font-weight: normal; 120 | text-shadow: none; 121 | color: #000; 122 | -webkit-border-radius: 2px; 123 | -khtml-border-radius: 2px; 124 | border-radius: 2px; 125 | border:1px solid #f5f5f5; 126 | width: 150px; 127 | padding: 12px; 128 | background-color: #fff; 129 | } 130 | 131 | .modal-left-s p { 132 | padding: 5px; 133 | font-size: 12px; 134 | } 135 | 136 | .modal-left-s button { 137 | -webkit-border-radius: 8px; 138 | -khtml-border-radius: 8px; 139 | border-radius: 8px; 140 | width: 100px; 141 | height: 30px; 142 | display: block; 143 | border: none; 144 | background-color: #484d75; 145 | color: #fff; 146 | margin: 5px 22px; 147 | cursor: pointer; 148 | } 149 | 150 | .modal-left-s textarea { 151 | -webkit-border-radius: 8px; 152 | -khtml-border-radius: 8px; 153 | border-radius: 8px; 154 | background: #f5f5f5; 155 | width: 150px; 156 | height: 60px; 157 | color: #000; 158 | border:1px solid #3866a3; 159 | font-size: 10px; 160 | padding: 2px; 161 | } -------------------------------------------------------------------------------- /css/button_brown.css: -------------------------------------------------------------------------------- 1 | /* customize the design of the widget button */ 2 | 3 | .nd-widget-container .clearfix { 4 | display: block; 5 | } 6 | 7 | .nd-widget-container img { 8 | border: none; 9 | } 10 | 11 | .nd-widget-container ul { 12 | list-style: none; 13 | } 14 | 15 | .nd-widget-container a { 16 | text-decoration: none !important; 17 | cursor: pointer !important; 18 | } 19 | 20 | .nd-widget-container a:hover { 21 | } 22 | 23 | .nd-widget-container p { 24 | margin: auto; 25 | } 26 | 27 | .newdev_widget_div { 28 | font-family: 'Ubuntu', sans-serif; 29 | } 30 | 31 | .newdev_widget_msg { 32 | font-size: 15px; 33 | font-weight: bold; 34 | color:#ffffff; 35 | text-decoration:none; 36 | text-shadow:0px 1px 0px #4d3534; 37 | } 38 | 39 | .widget-but { 40 | position: relative; 41 | display: block; 42 | /*height: 30px;*/ 43 | line-height: 30px; 44 | -moz-box-shadow:inset 0px 1px 0px 0px #a6827e; 45 | -webkit-box-shadow:inset 0px 1px 0px 0px #a6827e; 46 | box-shadow:inset 0px 1px 0px 0px #a6827e; 47 | background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #7d5d3b), color-stop(1, #634b30)); 48 | background:-moz-linear-gradient(top, #7d5d3b 5%, #634b30 100%); 49 | background:-webkit-linear-gradient(top, #7d5d3b 5%, #634b30 100%); 50 | background:-o-linear-gradient(top, #7d5d3b 5%, #634b30 100%); 51 | background:-ms-linear-gradient(top, #7d5d3b 5%, #634b30 100%); 52 | background:linear-gradient(to bottom, #7d5d3b 5%, #634b30 100%); 53 | filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#7d5d3b', endColorstr='#634b30',GradientType=0); 54 | background-color:#7d5d3b; 55 | -moz-border-radius:3px; 56 | -webkit-border-radius:3px; 57 | border-radius:3px; 58 | border:1px solid #54381e; 59 | display:inline-block; 60 | cursor:pointer; 61 | color:#ffffff; 62 | font-weight:bold; 63 | font-size:15px; 64 | padding:6px 14px; 65 | text-decoration:none; 66 | text-shadow:0px 1px 0px #4d3534; 67 | } 68 | .widget-but:hover { 69 | background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #634b30), color-stop(1, #7d5d3b)); 70 | background:-moz-linear-gradient(top, #634b30 5%, #7d5d3b 100%); 71 | background:-webkit-linear-gradient(top, #634b30 5%, #7d5d3b 100%); 72 | background:-o-linear-gradient(top, #634b30 5%, #7d5d3b 100%); 73 | background:-ms-linear-gradient(top, #634b30 5%, #7d5d3b 100%); 74 | background:linear-gradient(to bottom, #634b30 5%, #7d5d3b 100%); 75 | filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#634b30', endColorstr='#7d5d3b',GradientType=0); 76 | background-color:#634b30; 77 | } 78 | .widget-but:active { 79 | position:relative; 80 | top:1px; 81 | } 82 | 83 | .icon-bnt { 84 | width: 22px; 85 | height: 30px; 86 | float: left; 87 | margin-right: 10px; 88 | background: url(../img/icon-but.png) no-repeat center; 89 | } 90 | 91 | .online-bnt { 92 | position: absolute; 93 | top: -5px; 94 | right: -5px; 95 | width: 16px; 96 | height: 16px; 97 | background: url(../img/online.png) no-repeat; 98 | } 99 | 100 | .offline-bnt { 101 | position: absolute; 102 | top: -5px; 103 | right: -5px; 104 | width: 16px; 105 | height: 16px; 106 | background: url(../img/offline.png) no-repeat; 107 | } 108 | 109 | #widget_tooltip_container { 110 | position: absolute; 111 | width: 150px; 112 | z-index: 999999; 113 | } 114 | 115 | 116 | .modal-left-s { 117 | font-size: 12px; 118 | font-style: normal; 119 | font-weight: normal; 120 | text-shadow: none; 121 | color: #000; 122 | -webkit-border-radius: 2px; 123 | -khtml-border-radius: 2px; 124 | border-radius: 2px; 125 | border:1px solid #f5f5f5; 126 | width: 150px; 127 | padding: 12px; 128 | background-color: #fff; 129 | } 130 | 131 | .modal-left-s p { 132 | padding: 5px; 133 | font-size: 12px; 134 | } 135 | 136 | .modal-left-s button { 137 | -webkit-border-radius: 8px; 138 | -khtml-border-radius: 8px; 139 | border-radius: 8px; 140 | width: 100px; 141 | height: 30px; 142 | display: block; 143 | border: none; 144 | background-color: #484d75; 145 | color: #fff; 146 | margin: 5px 22px; 147 | cursor: pointer; 148 | } 149 | 150 | .modal-left-s textarea { 151 | -webkit-border-radius: 8px; 152 | -khtml-border-radius: 8px; 153 | border-radius: 8px; 154 | background: #f5f5f5; 155 | width: 150px; 156 | height: 60px; 157 | color: #000; 158 | border:1px solid #3866a3; 159 | font-size: 10px; 160 | padding: 2px; 161 | } -------------------------------------------------------------------------------- /css/button_gray.css: -------------------------------------------------------------------------------- 1 | /* customize the design of the widget button */ 2 | 3 | .nd-widget-container .clearfix { 4 | display: block; 5 | } 6 | 7 | .nd-widget-container img { 8 | border: none; 9 | } 10 | 11 | .nd-widget-container ul { 12 | list-style: none; 13 | } 14 | 15 | .nd-widget-container a { 16 | text-decoration: none !important; 17 | cursor: pointer !important; 18 | } 19 | 20 | .nd-widget-container a:hover { 21 | } 22 | 23 | .nd-widget-container p { 24 | margin: auto; 25 | } 26 | 27 | .newdev_widget_div { 28 | font-family: 'Ubuntu', sans-serif; 29 | } 30 | 31 | .newdev_widget_msg { 32 | font-size: 15px; 33 | font-weight: bold; 34 | color:#ffffff; 35 | font-family:Arial; 36 | text-decoration:none; 37 | text-shadow:0px -1px 0px #2b665e; 38 | } 39 | 40 | .widget-but { 41 | position: relative; 42 | display: block; 43 | /*height: 20px !important;*/ 44 | line-height: 20px; 45 | -moz-box-shadow:inset 0px 1px 3px 0px #91b8b3; 46 | -webkit-box-shadow:inset 0px 1px 3px 0px #91b8b3; 47 | box-shadow:inset 0px 1px 3px 0px #91b8b3; 48 | background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #768d87), color-stop(1, #6c7c7c)); 49 | background:-moz-linear-gradient(top, #768d87 5%, #6c7c7c 100%); 50 | background:-webkit-linear-gradient(top, #768d87 5%, #6c7c7c 100%); 51 | background:-o-linear-gradient(top, #768d87 5%, #6c7c7c 100%); 52 | background:-ms-linear-gradient(top, #768d87 5%, #6c7c7c 100%); 53 | background:linear-gradient(to bottom, #768d87 5%, #6c7c7c 100%); 54 | filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#768d87', endColorstr='#6c7c7c',GradientType=0); 55 | background-color:#768d87; 56 | -moz-border-radius:5px; 57 | -webkit-border-radius:5px; 58 | border-radius:5px; 59 | border:1px solid #566963; 60 | display:inline-block; 61 | cursor:pointer; 62 | color:#ffffff; 63 | font-family:Arial; 64 | font-size: 15px; 65 | font-weight: bold; 66 | padding:11px 13px; 67 | text-decoration:none; 68 | text-shadow:0px -1px 0px #2b665e; 69 | } 70 | .widget-but:hover { 71 | background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #6c7c7c), color-stop(1, #768d87)); 72 | background:-moz-linear-gradient(top, #6c7c7c 5%, #768d87 100%); 73 | background:-webkit-linear-gradient(top, #6c7c7c 5%, #768d87 100%); 74 | background:-o-linear-gradient(top, #6c7c7c 5%, #768d87 100%); 75 | background:-ms-linear-gradient(top, #6c7c7c 5%, #768d87 100%); 76 | background:linear-gradient(to bottom, #6c7c7c 5%, #768d87 100%); 77 | filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#6c7c7c', endColorstr='#768d87',GradientType=0); 78 | background-color:#6c7c7c; 79 | } 80 | .widget-but:active { 81 | position:relative; 82 | top:1px; 83 | } 84 | 85 | .icon-bnt { 86 | width: 22px; 87 | height: 20px; 88 | float: left; 89 | margin-right: 5px; 90 | background: url(../img/icon-but.png) no-repeat center; 91 | } 92 | 93 | .online-bnt { 94 | position: absolute; 95 | top: -5px; 96 | right: -5px; 97 | width: 16px; 98 | height: 16px; 99 | background: url(../img/online.png) no-repeat; 100 | } 101 | 102 | .offline-bnt { 103 | position: absolute; 104 | top: -5px; 105 | right: -5px; 106 | width: 16px; 107 | height: 16px; 108 | background: url(../img/offline.png) no-repeat; 109 | } 110 | 111 | #widget_tooltip_container { 112 | position: absolute; 113 | width: 150px; 114 | z-index: 999999; 115 | } 116 | 117 | 118 | .modal-left-s { 119 | font-size: 12px; 120 | font-style: normal; 121 | font-weight: normal; 122 | text-shadow: none; 123 | color: #000; 124 | -webkit-border-radius: 2px; 125 | -khtml-border-radius: 2px; 126 | border-radius: 2px; 127 | border:1px solid #f5f5f5; 128 | width: 150px; 129 | padding: 12px; 130 | background-color: #fff; 131 | } 132 | 133 | .modal-left-s p { 134 | padding: 5px; 135 | font-size: 12px; 136 | } 137 | 138 | .modal-left-s button { 139 | -webkit-border-radius: 8px; 140 | -khtml-border-radius: 8px; 141 | border-radius: 8px; 142 | width: 100px; 143 | height: 30px; 144 | display: block; 145 | border: none; 146 | background-color: #484d75; 147 | color: #fff; 148 | margin: 5px 22px; 149 | cursor: pointer; 150 | } 151 | 152 | .modal-left-s textarea { 153 | -webkit-border-radius: 8px; 154 | -khtml-border-radius: 8px; 155 | border-radius: 8px; 156 | background: #f5f5f5; 157 | width: 150px; 158 | height: 60px; 159 | color: #000; 160 | border:1px solid #3866a3; 161 | font-size: 10px; 162 | padding: 2px; 163 | } -------------------------------------------------------------------------------- /css/button_green.css: -------------------------------------------------------------------------------- 1 | /* customize the design of the widget button */ 2 | 3 | .nd-widget-container .clearfix { 4 | display: block; 5 | } 6 | 7 | .nd-widget-container img { 8 | border: none; 9 | } 10 | 11 | .nd-widget-container ul { 12 | list-style: none; 13 | } 14 | 15 | .nd-widget-container a { 16 | text-decoration: none !important; 17 | cursor: pointer !important; 18 | } 19 | 20 | .nd-widget-container a:hover { 21 | } 22 | 23 | .nd-widget-container p { 24 | margin: auto; 25 | } 26 | 27 | .newdev_widget_div { 28 | font-family: 'Ubuntu', sans-serif; 29 | } 30 | 31 | .newdev_widget_msg { 32 | font-size: 15px; 33 | font-weight: bold; 34 | color:#ffffff; 35 | text-decoration:none; 36 | text-shadow:0px 1px 0px #aade7c; 37 | } 38 | 39 | .widget-but { 40 | position: relative; 41 | display: block; 42 | /*height: 30px;*/ 43 | line-height: 30px; 44 | -moz-box-shadow:inset 0px 1px 0px 0px #caefab; 45 | -webkit-box-shadow:inset 0px 1px 0px 0px #caefab; 46 | box-shadow:inset 0px 1px 0px 0px #caefab; 47 | background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #77d42a), color-stop(1, #5cb811)); 48 | background:-moz-linear-gradient(top, #77d42a 5%, #5cb811 100%); 49 | background:-webkit-linear-gradient(top, #77d42a 5%, #5cb811 100%); 50 | background:-o-linear-gradient(top, #77d42a 5%, #5cb811 100%); 51 | background:-ms-linear-gradient(top, #77d42a 5%, #5cb811 100%); 52 | background:linear-gradient(to bottom, #77d42a 5%, #5cb811 100%); 53 | filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#77d42a', endColorstr='#5cb811',GradientType=0); 54 | background-color:#77d42a; 55 | -moz-border-radius:6px; 56 | -webkit-border-radius:6px; 57 | border-radius:6px; 58 | border:1px solid #268a16; 59 | display:inline-block; 60 | cursor:pointer; 61 | color:#306108; 62 | font-size: 15px; 63 | font-weight: bold; 64 | padding:6px 14px; 65 | text-decoration:none; 66 | text-shadow:0px 1px 0px #aade7c; 67 | } 68 | .widget-but:hover { 69 | background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #5cb811), color-stop(1, #77d42a)); 70 | background:-moz-linear-gradient(top, #5cb811 5%, #77d42a 100%); 71 | background:-webkit-linear-gradient(top, #5cb811 5%, #77d42a 100%); 72 | background:-o-linear-gradient(top, #5cb811 5%, #77d42a 100%); 73 | background:-ms-linear-gradient(top, #5cb811 5%, #77d42a 100%); 74 | background:linear-gradient(to bottom, #5cb811 5%, #77d42a 100%); 75 | filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#5cb811', endColorstr='#77d42a',GradientType=0); 76 | background-color:#5cb811; 77 | } 78 | .widget-but:active { 79 | position:relative; 80 | top:1px; 81 | } 82 | 83 | .icon-bnt { 84 | width: 22px; 85 | height: 30px; 86 | float: left; 87 | margin-right: 5px; 88 | background: url(../img/icon-but.png) no-repeat center; 89 | } 90 | 91 | .online-bnt { 92 | position: absolute; 93 | top: -5px; 94 | right: -5px; 95 | width: 16px; 96 | height: 16px; 97 | background: url(../img/online.png) no-repeat; 98 | } 99 | 100 | .offline-bnt { 101 | position: absolute; 102 | top: -5px; 103 | right: -5px; 104 | width: 16px; 105 | height: 16px; 106 | background: url(../img/offline.png) no-repeat; 107 | } 108 | 109 | #widget_tooltip_container { 110 | position: absolute; 111 | width: 150px; 112 | z-index: 999999; 113 | } 114 | 115 | 116 | .modal-left-s { 117 | font-size: 12px; 118 | font-style: normal; 119 | font-weight: normal; 120 | text-shadow: none; 121 | color: #000; 122 | -webkit-border-radius: 2px; 123 | -khtml-border-radius: 2px; 124 | border-radius: 2px; 125 | border:1px solid #f5f5f5; 126 | width: 150px; 127 | padding: 12px; 128 | background-color: #fff; 129 | } 130 | 131 | .modal-left-s p { 132 | padding: 5px; 133 | font-size: 12px; 134 | } 135 | 136 | .modal-left-s button { 137 | -webkit-border-radius: 8px; 138 | -khtml-border-radius: 8px; 139 | border-radius: 8px; 140 | width: 100px; 141 | height: 30px; 142 | display: block; 143 | border: none; 144 | background-color: #484d75; 145 | color: #fff; 146 | margin: 5px 22px; 147 | cursor: pointer; 148 | } 149 | 150 | .modal-left-s textarea { 151 | -webkit-border-radius: 8px; 152 | -khtml-border-radius: 8px; 153 | border-radius: 8px; 154 | background: #f5f5f5; 155 | width: 150px; 156 | height: 60px; 157 | color: #000; 158 | border:1px solid #3866a3; 159 | font-size: 10px; 160 | padding: 2px; 161 | } -------------------------------------------------------------------------------- /css/button_lightgray.css: -------------------------------------------------------------------------------- 1 | /* customize the design of the widget button */ 2 | 3 | .nd-widget-container .clearfix { 4 | display: block; 5 | } 6 | 7 | .nd-widget-container img { 8 | border: none; 9 | } 10 | 11 | .nd-widget-container ul { 12 | list-style: none; 13 | } 14 | 15 | .nd-widget-container a { 16 | text-decoration: none !important; 17 | cursor: pointer !important; 18 | } 19 | 20 | .nd-widget-container a:hover { 21 | } 22 | 23 | .nd-widget-container p { 24 | margin: auto; 25 | } 26 | 27 | .newdev_widget_div { 28 | font-family: 'Ubuntu', sans-serif; 29 | } 30 | 31 | .newdev_widget_msg { 32 | font-size: 15px; 33 | font-weight: bold; 34 | color:#777777; 35 | text-decoration:none; 36 | text-shadow:0px 1px 0px #ffffff; 37 | } 38 | 39 | .widget-but { 40 | position: relative; 41 | display: block; 42 | 43 | /*height: 30px;*/ 44 | line-height: 30px; 45 | -moz-box-shadow:inset 0px 1px 0px 0px #ffffff; 46 | -webkit-box-shadow:inset 0px 1px 0px 0px #ffffff; 47 | box-shadow:inset 0px 1px 0px 0px #ffffff; 48 | background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #ededed), color-stop(1, #dfdfdf)); 49 | background:-moz-linear-gradient(top, #ededed 5%, #dfdfdf 100%); 50 | background:-webkit-linear-gradient(top, #ededed 5%, #dfdfdf 100%); 51 | background:-o-linear-gradient(top, #ededed 5%, #dfdfdf 100%); 52 | background:-ms-linear-gradient(top, #ededed 5%, #dfdfdf 100%); 53 | background:linear-gradient(to bottom, #ededed 5%, #dfdfdf 100%); 54 | filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#dfdfdf',GradientType=0); 55 | background-color:#ededed; 56 | -moz-border-radius:6px; 57 | -webkit-border-radius:6px; 58 | border-radius:6px; 59 | border:1px solid #dcdcdc; 60 | display:inline-block; 61 | cursor:pointer; 62 | color:#777777; 63 | font-size:15px; 64 | font-weight:bold; 65 | padding:6px 14px; 66 | text-decoration:none; 67 | text-shadow:0px 1px 0px #ffffff; 68 | } 69 | .widget-but:hover { 70 | background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #dfdfdf), color-stop(1, #ededed)); 71 | background:-moz-linear-gradient(top, #dfdfdf 5%, #ededed 100%); 72 | background:-webkit-linear-gradient(top, #dfdfdf 5%, #ededed 100%); 73 | background:-o-linear-gradient(top, #dfdfdf 5%, #ededed 100%); 74 | background:-ms-linear-gradient(top, #dfdfdf 5%, #ededed 100%); 75 | background:linear-gradient(to bottom, #dfdfdf 5%, #ededed 100%); 76 | filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#dfdfdf', endColorstr='#ededed',GradientType=0); 77 | background-color:#dfdfdf; 78 | } 79 | .widget-but:active { 80 | position:relative; 81 | top:1px; 82 | } 83 | 84 | 85 | .icon-bnt { 86 | width: 22px; 87 | height: 30px; 88 | float: left; 89 | margin-right: 5px; 90 | background: url(../img/icon-but.png) no-repeat center; 91 | } 92 | 93 | .online-bnt { 94 | position: absolute; 95 | top: -5px; 96 | right: -5px; 97 | width: 16px; 98 | height: 16px; 99 | background: url(../img/online.png) no-repeat; 100 | } 101 | 102 | .offline-bnt { 103 | position: absolute; 104 | top: -5px; 105 | right: -5px; 106 | width: 16px; 107 | height: 16px; 108 | background: url(../img/offline.png) no-repeat; 109 | } 110 | 111 | #widget_tooltip_container { 112 | position: absolute; 113 | width: 150px; 114 | z-index: 999999; 115 | } 116 | 117 | 118 | .modal-left-s { 119 | font-size: 12px; 120 | font-style: normal; 121 | font-weight: normal; 122 | text-shadow: none; 123 | color: #000; 124 | -webkit-border-radius: 2px; 125 | -khtml-border-radius: 2px; 126 | border-radius: 2px; 127 | border:1px solid #f5f5f5; 128 | width: 150px; 129 | padding: 12px; 130 | background-color: #fff; 131 | } 132 | 133 | .modal-left-s p { 134 | padding: 5px; 135 | font-size: 12px; 136 | } 137 | 138 | .modal-left-s button { 139 | -webkit-border-radius: 8px; 140 | -khtml-border-radius: 8px; 141 | border-radius: 8px; 142 | width: 100px; 143 | height: 30px; 144 | display: block; 145 | border: none; 146 | background-color: #484d75; 147 | color: #fff; 148 | margin: 5px 22px; 149 | cursor: pointer; 150 | } 151 | 152 | .modal-left-s textarea { 153 | -webkit-border-radius: 8px; 154 | -khtml-border-radius: 8px; 155 | border-radius: 8px; 156 | background: #f5f5f5; 157 | width: 150px; 158 | height: 60px; 159 | color: #000; 160 | border:1px solid #3866a3; 161 | font-size: 10px; 162 | padding: 2px; 163 | } -------------------------------------------------------------------------------- /css/button_lightred.css: -------------------------------------------------------------------------------- 1 | /* customize the design of the widget button */ 2 | 3 | .nd-widget-container .clearfix { 4 | display: block; 5 | } 6 | 7 | .nd-widget-container img { 8 | border: none; 9 | } 10 | 11 | .nd-widget-container ul { 12 | list-style: none; 13 | } 14 | 15 | .nd-widget-container a { 16 | text-decoration: none !important; 17 | cursor: pointer !important; 18 | } 19 | 20 | .nd-widget-container a:hover { 21 | } 22 | 23 | .nd-widget-container p { 24 | margin: auto; 25 | } 26 | 27 | .newdev_widget_div { 28 | font-family: 'Ubuntu', sans-serif; 29 | } 30 | 31 | .newdev_widget_msg { 32 | color:#ffffff; 33 | font-family:Arial; 34 | font-size:15px; 35 | font-weight:bold; 36 | text-decoration:none; 37 | text-shadow:0px 1px 0px #b23e35; 38 | } 39 | 40 | .widget-but { 41 | position: relative; 42 | display: block; 43 | /*height: 30px;*/ 44 | line-height: 30px; 45 | -moz-box-shadow:inset 0px 1px 0px 0px #f7c5c0; 46 | -webkit-box-shadow:inset 0px 1px 0px 0px #f7c5c0; 47 | box-shadow:inset 0px 1px 0px 0px #f7c5c0; 48 | background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #fc8d83), color-stop(1, #e4685d)); 49 | background:-moz-linear-gradient(top, #fc8d83 5%, #e4685d 100%); 50 | background:-webkit-linear-gradient(top, #fc8d83 5%, #e4685d 100%); 51 | background:-o-linear-gradient(top, #fc8d83 5%, #e4685d 100%); 52 | background:-ms-linear-gradient(top, #fc8d83 5%, #e4685d 100%); 53 | background:linear-gradient(to bottom, #fc8d83 5%, #e4685d 100%); 54 | filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fc8d83', endColorstr='#e4685d',GradientType=0); 55 | background-color:#fc8d83; 56 | -moz-border-radius:6px; 57 | -webkit-border-radius:6px; 58 | border-radius:6px; 59 | border:1px solid #d83526; 60 | display:inline-block; 61 | cursor:pointer; 62 | color:#ffffff; 63 | font-family:Arial; 64 | font-size:15px; 65 | font-weight:bold; 66 | padding:6px 14px; 67 | text-decoration:none; 68 | text-shadow:0px 1px 0px #b23e35; 69 | } 70 | .widget-but:hover { 71 | background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #e4685d), color-stop(1, #fc8d83)); 72 | background:-moz-linear-gradient(top, #e4685d 5%, #fc8d83 100%); 73 | background:-webkit-linear-gradient(top, #e4685d 5%, #fc8d83 100%); 74 | background:-o-linear-gradient(top, #e4685d 5%, #fc8d83 100%); 75 | background:-ms-linear-gradient(top, #e4685d 5%, #fc8d83 100%); 76 | background:linear-gradient(to bottom, #e4685d 5%, #fc8d83 100%); 77 | filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#e4685d', endColorstr='#fc8d83',GradientType=0); 78 | background-color:#e4685d; 79 | } 80 | .widget-but:active { 81 | position:relative; 82 | top:1px; 83 | } 84 | 85 | .icon-bnt { 86 | width: 22px; 87 | height: 30px; 88 | float: left; 89 | margin-right: 5px; 90 | background: url(../img/icon-but.png) no-repeat center; 91 | } 92 | 93 | .online-bnt { 94 | position: absolute; 95 | top: -5px; 96 | right: -5px; 97 | width: 16px; 98 | height: 16px; 99 | background: url(../img/online.png) no-repeat; 100 | } 101 | 102 | .offline-bnt { 103 | position: absolute; 104 | top: -5px; 105 | right: -5px; 106 | width: 16px; 107 | height: 16px; 108 | background: url(../img/offline.png) no-repeat; 109 | } 110 | 111 | #widget_tooltip_container { 112 | position: absolute; 113 | width: 150px; 114 | z-index: 999999; 115 | } 116 | 117 | 118 | .modal-left-s { 119 | font-size: 12px; 120 | font-style: normal; 121 | font-weight: normal; 122 | text-shadow: none; 123 | color: #000; 124 | -webkit-border-radius: 2px; 125 | -khtml-border-radius: 2px; 126 | border-radius: 2px; 127 | border:1px solid #f5f5f5; 128 | width: 150px; 129 | padding: 12px; 130 | background-color: #fff; 131 | } 132 | 133 | .modal-left-s p { 134 | padding: 5px; 135 | font-size: 12px; 136 | } 137 | 138 | .modal-left-s button { 139 | -webkit-border-radius: 8px; 140 | -khtml-border-radius: 8px; 141 | border-radius: 8px; 142 | width: 100px; 143 | height: 30px; 144 | display: block; 145 | border: none; 146 | background-color: #484d75; 147 | color: #fff; 148 | margin: 5px 22px; 149 | cursor: pointer; 150 | } 151 | 152 | .modal-left-s textarea { 153 | -webkit-border-radius: 8px; 154 | -khtml-border-radius: 8px; 155 | border-radius: 8px; 156 | background: #f5f5f5; 157 | width: 150px; 158 | height: 60px; 159 | color: #000; 160 | border:1px solid #3866a3; 161 | font-size: 10px; 162 | padding: 2px; 163 | } -------------------------------------------------------------------------------- /css/button_orange.css: -------------------------------------------------------------------------------- 1 | /* customize the design of the widget button */ 2 | 3 | .nd-widget-container .clearfix { 4 | display: block; 5 | } 6 | 7 | .nd-widget-container img { 8 | border: none; 9 | } 10 | 11 | .nd-widget-container ul { 12 | list-style: none; 13 | } 14 | 15 | .nd-widget-container a { 16 | text-decoration: none !important; 17 | cursor: pointer !important; 18 | } 19 | 20 | .nd-widget-container a:hover { 21 | } 22 | 23 | .nd-widget-container p { 24 | margin: auto; 25 | } 26 | 27 | .newdev_widget_div { 28 | font-family: 'Ubuntu', sans-serif; 29 | } 30 | 31 | .newdev_widget_msg { 32 | color:#333333; 33 | font-family:Arial; 34 | font-size:15px; 35 | font-weight:bold; 36 | text-decoration:none; 37 | text-shadow:0px 1px 0px #ffee66; 38 | } 39 | 40 | .widget-but { 41 | position: relative; 42 | display: block; 43 | /*height: 30px;*/ 44 | line-height: 30px; 45 | -moz-box-shadow:inset 0px 1px 0px 0px #fff6af; 46 | -webkit-box-shadow:inset 0px 1px 0px 0px #fff6af; 47 | box-shadow:inset 0px 1px 0px 0px #fff6af; 48 | background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #ffec64), color-stop(1, #ffab23)); 49 | background:-moz-linear-gradient(top, #ffec64 5%, #ffab23 100%); 50 | background:-webkit-linear-gradient(top, #ffec64 5%, #ffab23 100%); 51 | background:-o-linear-gradient(top, #ffec64 5%, #ffab23 100%); 52 | background:-ms-linear-gradient(top, #ffec64 5%, #ffab23 100%); 53 | background:linear-gradient(to bottom, #ffec64 5%, #ffab23 100%); 54 | filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffec64', endColorstr='#ffab23',GradientType=0); 55 | background-color:#ffec64; 56 | -moz-border-radius:6px; 57 | -webkit-border-radius:6px; 58 | border-radius:6px; 59 | border:1px solid #ffaa22; 60 | display:inline-block; 61 | cursor:pointer; 62 | color:#333333; 63 | font-family:Arial; 64 | font-size:15px; 65 | font-weight:bold; 66 | padding:6px 14px; 67 | text-decoration:none; 68 | text-shadow:0px 1px 0px #ffee66; 69 | } 70 | .widget-but:hover { 71 | background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #ffab23), color-stop(1, #ffec64)); 72 | background:-moz-linear-gradient(top, #ffab23 5%, #ffec64 100%); 73 | background:-webkit-linear-gradient(top, #ffab23 5%, #ffec64 100%); 74 | background:-o-linear-gradient(top, #ffab23 5%, #ffec64 100%); 75 | background:-ms-linear-gradient(top, #ffab23 5%, #ffec64 100%); 76 | background:linear-gradient(to bottom, #ffab23 5%, #ffec64 100%); 77 | filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffab23', endColorstr='#ffec64',GradientType=0); 78 | background-color:#ffab23; 79 | } 80 | .widget-but:active { 81 | position:relative; 82 | top:1px; 83 | } 84 | 85 | .icon-bnt { 86 | width: 22px; 87 | height: 30px; 88 | float: left; 89 | margin-right: 10px; 90 | background: url(../img/icon-but.png) no-repeat center; 91 | } 92 | 93 | .online-bnt { 94 | position: absolute; 95 | top: -5px; 96 | right: -5px; 97 | width: 16px; 98 | height: 16px; 99 | background: url(../img/online.png) no-repeat; 100 | } 101 | 102 | .offline-bnt { 103 | position: absolute; 104 | top: -5px; 105 | right: -5px; 106 | width: 16px; 107 | height: 16px; 108 | background: url(../img/offline.png) no-repeat; 109 | } 110 | 111 | #widget_tooltip_container { 112 | position: absolute; 113 | width: 150px; 114 | z-index: 999999; 115 | } 116 | 117 | 118 | .modal-left-s { 119 | font-size: 12px; 120 | font-style: normal; 121 | font-weight: normal; 122 | text-shadow: none; 123 | color: #000; 124 | -webkit-border-radius: 2px; 125 | -khtml-border-radius: 2px; 126 | border-radius: 2px; 127 | border:1px solid #f5f5f5; 128 | width: 150px; 129 | padding: 12px; 130 | background-color: #fff; 131 | } 132 | 133 | .modal-left-s p { 134 | padding: 5px; 135 | font-size: 12px; 136 | } 137 | 138 | .modal-left-s button { 139 | -webkit-border-radius: 8px; 140 | -khtml-border-radius: 8px; 141 | border-radius: 8px; 142 | width: 100px; 143 | height: 30px; 144 | display: block; 145 | border: none; 146 | background-color: #484d75; 147 | color: #fff; 148 | margin: 5px 22px; 149 | cursor: pointer; 150 | } 151 | 152 | .modal-left-s textarea { 153 | -webkit-border-radius: 8px; 154 | -khtml-border-radius: 8px; 155 | border-radius: 8px; 156 | background: #f5f5f5; 157 | width: 150px; 158 | height: 60px; 159 | color: #000; 160 | border:1px solid #3866a3; 161 | font-size: 10px; 162 | padding: 2px; 163 | } -------------------------------------------------------------------------------- /css/cloud.css: -------------------------------------------------------------------------------- 1 | .dropdown-content { 2 | z-index: 99999; 3 | top: 30px; 4 | display: none; 5 | position: absolute; 6 | background-color: #f9f9f9; 7 | min-width: 260px; 8 | max-width: 260px; 9 | box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); 10 | } 11 | /* Links inside the dropdown */ 12 | .dropdown-content a { 13 | color: black; 14 | padding: 12px 16px; 15 | text-decoration: none; 16 | display: block; 17 | height: 15px; 18 | } 19 | 20 | /* Change color of dropdown links on hover */ 21 | .dropdown-content a:hover {background-color: #f1f1f1} 22 | .dropdown-content.list_container_widget { 23 | top: auto; 24 | bottom: 0; 25 | } 26 | .dropdown-us.allow2 ul { 27 | list-style: none; 28 | } 29 | 30 | #videoPreview { 31 | width: 280px; 32 | height: 200px; 33 | } 34 | 35 | #videoPreview_4{ 36 | width: 100% !important; 37 | height: auto !important; 38 | max-width: 280px; 39 | max-height: 200px; 40 | } 41 | 42 | .videoPreviewDiv { 43 | margin: 0 auto; 44 | width: 100%; 45 | height: auto; 46 | max-width: 280px; 47 | max-height: 200px; 48 | } 49 | 50 | #popup_widget_text_videos { 51 | max-width: 600px; 52 | margin: 0 auto; 53 | padding: 10px; 54 | } 55 | 56 | #testAudioCanvas { 57 | margin-left:10px; 58 | margin-top:4px; 59 | width:40px; 60 | height:5px; 61 | border:1px solid #c0c0c0; 62 | } 63 | 64 | #wd-widget-content-greenroom { 65 | background-color: #ECECEC; 66 | } -------------------------------------------------------------------------------- /css/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/css/fontawesome-webfont.eot -------------------------------------------------------------------------------- /css/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/css/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /css/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/css/fontawesome-webfont.woff -------------------------------------------------------------------------------- /css/fonts/fontawesome-webfont3e6e.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/css/fonts/fontawesome-webfont3e6e.eot -------------------------------------------------------------------------------- /css/fonts/fontawesome-webfont3e6e.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/css/fonts/fontawesome-webfont3e6e.html -------------------------------------------------------------------------------- /css/fonts/fontawesome-webfont3e6e.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/css/fonts/fontawesome-webfont3e6e.ttf -------------------------------------------------------------------------------- /css/fonts/fontawesome-webfont3e6e.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/css/fonts/fontawesome-webfont3e6e.woff -------------------------------------------------------------------------------- /css/fonts/fontawesome-webfontd41d.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/css/fonts/fontawesome-webfontd41d.eot -------------------------------------------------------------------------------- /css/fonts/themify9f24.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/css/fonts/themify9f24.eot -------------------------------------------------------------------------------- /css/fonts/themify9f24.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/css/fonts/themify9f24.ttf -------------------------------------------------------------------------------- /css/fonts/themify9f24.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/css/fonts/themify9f24.woff -------------------------------------------------------------------------------- /css/fonts/themifyd41d.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/css/fonts/themifyd41d.eot -------------------------------------------------------------------------------- /css/formito.css: -------------------------------------------------------------------------------- 1 | .formito-launcher{position:fixed;right:0;bottom:0;z-index:1010;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"}.formito-launcher .fo-icon{-webkit-transform:scale(0, 0);transform:scale(0, 0);-webkit-transform-origin:center center;transform-origin:center center;-webkit-transition:-webkit-transform 0.3s ease-out;transition:-webkit-transform 0.3s ease-out;transition:transform 0.3s ease-out;transition:transform 0.3s ease-out, -webkit-transform 0.3s ease-out}.formito-launcher .fo-popup{visibility:hidden;opacity:0;-webkit-transform:translateY(34px);transform:translateY(34px);-webkit-transition:0.5s ease-out 1s;transition:0.5s ease-out 1s}.formito-launcher.reveal .fo-icon{-webkit-transform:scale(1, 1);transform:scale(1, 1)}.formito-launcher.reveal .fo-popup{visibility:visible;opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}.formito-launcher.reveal .fo-popup.is-closed{visibility:hidden;opacity:0;-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:translateY(34px) scale(0, 0);transform:translateY(34px) scale(0, 0);-webkit-transition:0.25s ease-out;transition:0.25s ease-out}.formito-launcher.is-open .fo-popup{display:none}.formito-launcher.is-open .fo-app,.formito-launcher.is-open .fo-iframe{-webkit-transform:scale(1, 1);transform:scale(1, 1)}.fo-app{position:absolute;right:24px;bottom:100px;width:380px;height:640px;max-height:calc(100vh - 120px);border-radius:8px;-webkit-box-shadow:0 0 30px 0 rgba(0,0,0,0.1);box-shadow:0 0 30px 0 rgba(0,0,0,0.1);background:#fff;-webkit-transform:scale(0, 0);transform:scale(0, 0);-webkit-transform-origin:90% bottom;transform-origin:90% bottom;-webkit-transition:-webkit-transform 0.25s ease-out;transition:-webkit-transform 0.25s ease-out;transition:transform 0.25s ease-out;transition:transform 0.25s ease-out, -webkit-transform 0.25s ease-out}.fo-app:hover ~ .fo-iframe-refresh{opacity:0.5;visibility:visible}.fo-iframe{width:100%;height:100%;border:none;border-radius:8px;background:#fff;overflow:auto;border-radius:8px}.fo-iframe-refresh{position:absolute;bottom:36px;right:90px;display:-webkit-inline-box;display:inline-flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;width:34px;height:34px;border-radius:10rem;background-color:#545454;color:#fff;cursor:pointer;opacity:0;visibility:hidden;-webkit-transition:0.3s ease-out;transition:0.3s ease-out}.fo-iframe-refresh:hover{opacity:1;background-color:#191919}.fo-brand{position:absolute;display:inline-block;font-size:14px;font-weight:400;padding:4px 0;bottom:-42px;left:20px;opacity:0.75;text-decoration:none;border:none;line-height:1;color:#191919;text-shadow:#fff 0 0 5px;-webkit-transition:0.3s ease-out;transition:0.3s ease-out;background-color:rgba(255,255,255,0.5);padding:6px;border-radius:4px}.fo-brand:hover{opacity:1;color:#191919}@media (max-width: 460px){.fo-app{right:0px;width:100vw;height:100vh;max-height:calc(100vh - 80px);max-height:calc((var(--vh, 1vh) * 100) - 80px);bottom:86px}.fo-brand{bottom:-56px;background-color:rgba(255,255,255,0.75)}}.fo-icon{position:absolute;right:24px;bottom:24px;background:url("../img/chaticon.png") no-repeat center center;-webkit-background-size:cover;background-size:cover;display:inline-block;width:60px;height:60px;border-radius:10rem;cursor:pointer;overflow:hidden;z-index:9;-webkit-box-shadow:0 0 14px rgba(0,0,0,0.1);box-shadow:0 0 14px rgba(0,0,0,0.1);-webkit-transition:0.3s ease-out;transition:0.3s ease-out}.fo-icon:hover{-webkit-box-shadow:0 0 24px rgba(0,0,0,0.15);box-shadow:0 0 24px rgba(0,0,0,0.15)}.fo-icon .fo-close{display:inline-block;width:60px;height:60px;border-radius:10rem;background:#0facf3;text-align:center;line-height:52px;color:#fff;font-weight:300;font-size:34px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-transform:scale(0, 0);transform:scale(0, 0);-webkit-transform-origin:center center;transform-origin:center center;-webkit-transition:-webkit-transform 0.3s ease-out;transition:-webkit-transform 0.3s ease-out;transition:transform 0.3s ease-out;transition:transform 0.3s ease-out, -webkit-transform 0.3s ease-out}.is-open .fo-icon .fo-close{-webkit-transform:scale(1, 1);transform:scale(1, 1)}@media (max-width: 460px){.fo-icon{right:16px;bottom:16px;width:54px;height:54px}.fo-icon .fo-close{width:54px;height:54px;line-height:46px}}.fo-popup{position:absolute;right:24px;bottom:100px;width:280px;max-width:80vw;padding:16px;background:#fff;border-radius:8px;-webkit-box-shadow:0 0 25px 0 rgba(0,0,0,0.065);box-shadow:0 0 25px 0 rgba(0,0,0,0.065);line-height:1.5;border:1px solid #f7f9fa;cursor:pointer}.fo-popup::after{position:absolute;bottom:-8px;right:22px;content:'';width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-top:8px solid #fff}.fo-popup img{width:64px}.fo-popup h6{font-family:Roboto, "Open Sans", Arial, sans-serif;font-size:15px;margin:0;margin-bottom:8px;font-weight:600;color:#464646;letter-spacing:0;line-height:1.5}.fo-popup p{margin:0;font-size:15px;color:#646464}.fo-popup .fo-close{position:absolute;top:-28px;right:0;font-weight:300;display:-webkit-inline-box;display:inline-flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;width:28px;height:28px;border-radius:10rem;background-color:rgba(0,0,0,0.25);opacity:0;text-decoration:none;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-transition:0.3s ease-out;transition:0.3s ease-out}.fo-popup .fo-close:hover{background-color:rgba(0,0,0,0.5)}.fo-popup .fo-close::before{content:"\00d7";margin-top:-3px;font-size:22px;color:rgba(255,255,255,0.9)}.fo-popup .fo-close::after{content:"";position:absolute;bottom:-10px;display:block;width:100%;height:40px;z-index:-1}.fo-popup:hover .fo-close{top:-38px;opacity:1}@media (max-width: 460px){.fo-popup{right:16px;bottom:86px}}.fo-toolbar{position:absolute;top:-44px;right:0;display:-webkit-box;display:flex;display:none}.fo-toolbar a{display:-webkit-inline-box;display:inline-flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;width:34px;height:34px;border-radius:10rem;background-color:#545454;color:#fff;margin:0 4px;text-decoration:none;-webkit-transition:0.3s ease-out;transition:0.3s ease-out}.fo-toolbar a:hover{background-color:#191919} -------------------------------------------------------------------------------- /css/jquery-ui-timepicker-addon.css: -------------------------------------------------------------------------------- 1 | .ui-timepicker-div .ui-widget-header { margin-bottom: 8px; } 2 | .ui-timepicker-div dl { text-align: left; } 3 | .ui-timepicker-div dl dt { float: left; clear:left; padding: 0 0 0 5px; } 4 | .ui-timepicker-div dl dd { margin: 0 10px 10px 40%; } 5 | .ui-timepicker-div td { font-size: 90%; } 6 | .ui-tpicker-grid-label { background: none; border: none; margin: 0; padding: 0; } 7 | .ui-timepicker-div .ui_tpicker_unit_hide{ display: none; } 8 | 9 | .ui-timepicker-div .ui_tpicker_time .ui_tpicker_time_input { background: none; color: inherit; border: none; outline: none; border-bottom: solid 1px #555; width: 95%; } 10 | .ui-timepicker-div .ui_tpicker_time .ui_tpicker_time_input:focus { border-bottom-color: #aaa; } 11 | 12 | .ui-timepicker-rtl{ direction: rtl; } 13 | .ui-timepicker-rtl dl { text-align: right; padding: 0 5px 0 0; } 14 | .ui-timepicker-rtl dl dt{ float: right; clear: right; } 15 | .ui-timepicker-rtl dl dd { margin: 0 40% 10px 10px; } 16 | 17 | /* Shortened version style */ 18 | .ui-timepicker-div.ui-timepicker-oneLine { padding-right: 2px; } 19 | .ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_time, 20 | .ui-timepicker-div.ui-timepicker-oneLine dt { display: none; } 21 | .ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_time_label { display: block; padding-top: 2px; } 22 | .ui-timepicker-div.ui-timepicker-oneLine dl { text-align: right; } 23 | .ui-timepicker-div.ui-timepicker-oneLine dl dd, 24 | .ui-timepicker-div.ui-timepicker-oneLine dl dd > div { display:inline-block; margin:0; } 25 | .ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_minute:before, 26 | .ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_second:before { content:':'; display:inline-block; } 27 | .ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_millisec:before, 28 | .ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_microsec:before { content:'.'; display:inline-block; } 29 | .ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_unit_hide, 30 | .ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_unit_hide:before{ display: none; } -------------------------------------------------------------------------------- /css/rateit.css: -------------------------------------------------------------------------------- 1 | .rateit { 2 | display: -moz-inline-box; 3 | display: inline-block; 4 | position: relative; 5 | -webkit-user-select: none; 6 | -khtml-user-select: none; 7 | -moz-user-select: none; 8 | -o-user-select: none; 9 | -ms-user-select: none; 10 | user-select: none; 11 | -webkit-touch-callout: none; 12 | } 13 | 14 | .rateit .rateit-range { 15 | position: relative; 16 | display: -moz-inline-box; 17 | display: inline-block; 18 | background: url(../img/star.gif); 19 | height: 16px; 20 | outline: none; 21 | } 22 | 23 | .rateit .rateit-range * { 24 | display: block; 25 | } 26 | 27 | /* for IE 6 */ 28 | * html .rateit, * html .rateit .rateit-range { 29 | display: inline; 30 | } 31 | 32 | /* for IE 7 */ 33 | * + html .rateit, * + html .rateit .rateit-range { 34 | display: inline; 35 | } 36 | 37 | .rateit .rateit-hover, .rateit .rateit-selected { 38 | position: absolute; 39 | left: 0; 40 | top: 0; 41 | width: 0; 42 | } 43 | 44 | .rateit .rateit-hover-rtl, .rateit .rateit-selected-rtl { 45 | left: auto; 46 | right: 0; 47 | } 48 | 49 | .rateit .rateit-hover { 50 | background: url(../img/star.gif) left -32px; 51 | color: rgb(239, 197, 41); 52 | } 53 | 54 | .rateit .rateit-hover-rtl { 55 | background-position: right -32px; 56 | } 57 | 58 | .rateit .rateit-selected { 59 | background: url(../img/star.gif) left -16px; 60 | color: rgb(191,66,66); 61 | } 62 | 63 | .rateit .rateit-selected-rtl { 64 | background-position: right -16px; 65 | } 66 | 67 | .rateit .rateit-preset { 68 | background: url(../img/star.gif) left -48px; 69 | color: rgb(239, 107, 34); 70 | } 71 | 72 | .rateit .rateit-preset-rtl { 73 | background: url(../img/star.gif) left -48px; 74 | } 75 | 76 | .rateit button.rateit-reset { 77 | background: url(../img/delete.gif) 0 0; 78 | width: 16px; 79 | height: 16px; 80 | display: -moz-inline-box; 81 | display: inline-block; 82 | float: left; 83 | outline: none; 84 | border: none; 85 | padding: 0; 86 | } 87 | 88 | .rateit .rateit-reset span { 89 | display: none; 90 | } 91 | 92 | .rateit button.rateit-reset:hover, .rateit button.rateit-reset:focus { 93 | background-position: 0 -16px; 94 | } 95 | 96 | 97 | .rateit-font { 98 | font-size: 24px; 99 | line-height: 1em; 100 | } 101 | 102 | .rateit-font .rateit-range { 103 | background: none; 104 | height: auto; 105 | } 106 | 107 | .rateit-font .rateit-empty { 108 | color: #ccc; 109 | } 110 | 111 | .rateit-font .rateit-range > div { 112 | background: none; 113 | overflow: hidden; 114 | cursor: default; 115 | } 116 | 117 | .rateit.rateit-font .rateit-reset { 118 | font-size: inherit; 119 | background: none; 120 | width: 0.6em; 121 | height: 0.6em; 122 | margin-top: 0.2em; 123 | background: gray; 124 | border-radius: 50%; 125 | position: relative; 126 | } 127 | 128 | .rateit.rateit-font .rateit-reset span { 129 | display: block; 130 | font-weight: bold; 131 | color: white; 132 | height: calc(50% - 0.045em); 133 | top: 0; 134 | position: absolute; 135 | border-bottom: 0.09em solid white; 136 | width: 72%; 137 | margin-left: 14%; 138 | } 139 | 140 | 141 | .rateit.rateit-font .rateit-reset:hover, .rateit.rateit-font button.rateit-reset:focus { 142 | background: #e6574b; /* Old browsers */ 143 | background: radial-gradient(ellipse at center, #e6574b 55%,#f6836b 77%,#f9d3cc 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */ 144 | background-position: 0 0; 145 | } 146 | -------------------------------------------------------------------------------- /css/simplechat.css: -------------------------------------------------------------------------------- 1 | #chats-lsv-admin { 2 | position: absolute; 3 | bottom: 10px; 4 | right: 10px; 5 | } 6 | 7 | .msger-lsv { 8 | font-size: 14px; 9 | float: right; 10 | flex-flow: column wrap; 11 | justify-content: space-between; 12 | width: 300px; 13 | margin: 25px 10px; 14 | height: 420px; 15 | border: 2px solid #ddd; 16 | border-radius: 5px; 17 | background: #fff; 18 | box-shadow: 0 15px 15px -5px rgba(0, 0, 0, 0.2); 19 | } 20 | 21 | .msger-lsv-widget { 22 | font-size: 14px; 23 | position: fixed; 24 | bottom: 10px; 25 | right: 10px; 26 | flex-flow: column wrap; 27 | justify-content: space-between; 28 | width: 300px; 29 | margin: 25px 10px; 30 | height: 420px; 31 | border: 2px solid #ddd; 32 | border-radius: 5px; 33 | background: #fff; 34 | box-shadow: 0 15px 15px -5px rgba(0, 0, 0, 0.2); 35 | } 36 | 37 | .msger-lsv-header { 38 | display: flex; 39 | justify-content: space-between; 40 | padding: 10px; 41 | border-bottom: 2px solid #ddd; 42 | background: #f5f5f5; 43 | color: #666; 44 | } 45 | 46 | .msger-lsv-chat { 47 | flex: 1; 48 | overflow-y: auto; 49 | padding: 10px; 50 | } 51 | .msger-lsv-chat::-webkit-scrollbar { 52 | width: 6px; 53 | } 54 | .msger-lsv-chat::-webkit-scrollbar-track { 55 | background: #ddd; 56 | } 57 | .msger-chat::-webkit-scrollbar-thumb { 58 | background: #bdbdbd; 59 | } 60 | .msg-lsv { 61 | display: flex; 62 | align-items: flex-end; 63 | margin-bottom: 10px; 64 | } 65 | .msg-lsv:last-of-type { 66 | margin: 0; 67 | } 68 | 69 | .msg-lsv-bubble { 70 | max-width: 450px; 71 | padding: 10px; 72 | border-radius: 10px; 73 | background: #f5f6f7; 74 | } 75 | .msg-lsv-info { 76 | display: flex; 77 | justify-content: space-between; 78 | align-items: center; 79 | margin-bottom: 10px; 80 | } 81 | .msg-lsv-info-name { 82 | margin-right: 10px; 83 | font-weight: bold; 84 | } 85 | .msg-lsv-info-time { 86 | font-size: 0.85em; 87 | } 88 | 89 | .left-msg-lsv .msg-lsv-bubble { 90 | border-bottom-left-radius: 0; 91 | } 92 | 93 | .right-msg-lsv { 94 | flex-direction: row-reverse; 95 | } 96 | .right-msg-lsv .msg-lsv-bubble { 97 | background: #48b0f7; 98 | color: #fff; 99 | border-bottom-right-radius: 0; 100 | } 101 | 102 | .msger-lsv-inputarea { 103 | display: flex; 104 | padding: 10px; 105 | border-top: 2px solid #ddd; 106 | background: #f5f5f5; 107 | } 108 | .msger-lsv-inputarea * { 109 | padding: 10px; 110 | border: none; 111 | border-radius: 3px; 112 | font-size: 1em; 113 | } 114 | .msger-lsv-input { 115 | flex: 1; 116 | background: #ddd; 117 | } 118 | .msger-lsv-send-btn { 119 | margin-left: 10px; 120 | border-radius: 8px; 121 | width: 82px; 122 | height: 50px; 123 | display: block; 124 | border: none; 125 | background-color: #484d75; 126 | color: #fff; 127 | font-size: 13px; 128 | text-transform: uppercase; 129 | cursor: pointer; 130 | } 131 | 132 | 133 | .msger-lsv-chat { 134 | height: 285px; 135 | background-color: #fcfcfe; 136 | border: 2px solid #ddd; 137 | } 138 | 139 | .close-but-wd-small { 140 | display: block; 141 | color: #fff; 142 | background-color: #415E6E; 143 | -moz-border-radius: 4px; 144 | -webkit-border-radius: 4px; 145 | -khtml-border-radius: 4px; 146 | border-radius: 4px; 147 | font-size: 12px; 148 | text-transform: uppercase; 149 | background: none !important; 150 | } 151 | 152 | 153 | .close-but-wd-small-widget { 154 | display: block; 155 | position: absolute !important; 156 | right: 3px; 157 | top: 5px; 158 | background: none !important; 159 | } 160 | 161 | .minimize-but-wd-small-widget { 162 | display: block; 163 | position: absolute !important; 164 | right: 30px; 165 | top: 5px; 166 | background: none !important; 167 | } 168 | 169 | .maximize-but-wd-small-widget { 170 | display: block; 171 | position: absolute !important; 172 | right: 30px; 173 | top: 5px; 174 | background: none !important; 175 | } 176 | 177 | 178 | .close-but-wd-small span { 179 | width: 18px; 180 | height: 18px; 181 | display: block; 182 | margin-left: 0px; 183 | float: right; 184 | background: url(../img/sprite.png) no-repeat scroll -150px -510px; 185 | } 186 | -------------------------------------------------------------------------------- /demo.htaccess: -------------------------------------------------------------------------------- 1 | Options -Indexes 2 | RewriteEngine On 3 | 4 | RewriteCond %{SCRIPT_FILENAME} !-d 5 | RewriteCond %{SCRIPT_FILENAME} !-f 6 | 7 | 8 | RewriteRule ^(\w+)$ ./routes.php?short=$1 -------------------------------------------------------------------------------- /doc/assets/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/doc/assets/.DS_Store -------------------------------------------------------------------------------- /doc/assets/blueprint-css/ie.css: -------------------------------------------------------------------------------- 1 | /* ----------------------------------------------------------------------- 2 | 3 | 4 | Blueprint CSS Framework 0.9 5 | http://blueprintcss.org 6 | 7 | * Copyright (c) 2007-Present. See LICENSE for more info. 8 | * See README for instructions on how to use Blueprint. 9 | * For credits and origins, see AUTHORS. 10 | * This is a compressed file. See the sources in the 'src' directory. 11 | 12 | ----------------------------------------------------------------------- */ 13 | 14 | /* ie.css */ 15 | body {text-align:center;} 16 | .container {text-align:left;} 17 | * html .column, * html div.span-1, * html div.span-2, * html div.span-3, * html div.span-4, * html div.span-5, * html div.span-6, * html div.span-7, * html div.span-8, * html div.span-9, * html div.span-10, * html div.span-11, * html div.span-12, * html div.span-13, * html div.span-14, * html div.span-15, * html div.span-16, * html div.span-17, * html div.span-18, * html div.span-19, * html div.span-20, * html div.span-21, * html div.span-22, * html div.span-23, * html div.span-24 {overflow-x:hidden;} 18 | * html legend {margin:0px -8px 16px 0;padding:0;} 19 | ol {margin-left:2em;} 20 | sup {vertical-align:text-top;} 21 | sub {vertical-align:text-bottom;} 22 | html>body p code {*white-space:normal;} 23 | hr {margin:-8px auto 11px;} 24 | img {-ms-interpolation-mode:bicubic;} 25 | .clearfix, .container {display:inline-block;} 26 | * html .clearfix, * html .container {height:1%;} 27 | fieldset {padding-top:0;} 28 | input.text, input.title {background-color:#fff;border:1px solid #bbb;} 29 | input.text:focus, input.title:focus {border-color:#666;} 30 | input.text, input.title, textarea, select {margin:0.5em 0;} 31 | input.checkbox, input.radio {position:relative;top:.25em;} 32 | form.inline div, form.inline p {vertical-align:middle;} 33 | form.inline label {position:relative;top:-0.25em;} 34 | form.inline input.checkbox, form.inline input.radio, form.inline input.button, form.inline button {margin:0.5em 0;} 35 | button, input.button {position:relative;top:0.25em;} -------------------------------------------------------------------------------- /doc/assets/blueprint-css/plugins/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/doc/assets/blueprint-css/plugins/.DS_Store -------------------------------------------------------------------------------- /doc/assets/blueprint-css/plugins/fancy-type/readme.txt: -------------------------------------------------------------------------------- 1 | Fancy Type 2 | 3 | * Gives you classes to use if you'd like some 4 | extra fancy typography. 5 | 6 | Credits and instructions are specified above each class 7 | in the fancy-type.css file in this directory. 8 | 9 | 10 | Usage 11 | ---------------------------------------------------------------- 12 | 13 | 1) Add this plugin to lib/settings.yml. 14 | See compress.rb for instructions. 15 | -------------------------------------------------------------------------------- /doc/assets/blueprint-css/plugins/fancy-type/screen.css: -------------------------------------------------------------------------------- 1 | /* -------------------------------------------------------------- 2 | 3 | fancy-type.css 4 | * Lots of pretty advanced classes for manipulating text. 5 | 6 | See the Readme file in this folder for additional instructions. 7 | 8 | -------------------------------------------------------------- */ 9 | 10 | /* Indentation instead of line shifts for sibling paragraphs. */ 11 | /* p + p { text-indent:2em; margin-top:-1.5em; } */ 12 | form p + p { text-indent: 0; } /* Don't want this in forms. */ 13 | 14 | 15 | /* For great looking type, use this code instead of asdf: 16 | asdf 17 | Best used on prepositions and ampersands. */ 18 | 19 | .alt { 20 | color: #666; 21 | font-family: "Warnock Pro", "Goudy Old Style","Palatino","Book Antiqua", Georgia, serif; 22 | font-style: italic; 23 | font-weight: normal; 24 | } 25 | 26 | 27 | /* For great looking quote marks in titles, replace "asdf" with: 28 | asdf” 29 | (That is, when the title starts with a quote mark). 30 | (You may have to change this value depending on your font size). */ 31 | 32 | .dquo { margin-left: -.5em; } 33 | 34 | 35 | /* Reduced size type with incremental leading 36 | (http://www.markboulton.co.uk/journal/comments/incremental_leading/) 37 | 38 | This could be used for side notes. For smaller type, you don't necessarily want to 39 | follow the 1.5x vertical rhythm -- the line-height is too much. 40 | 41 | Using this class, it reduces your font size and line-height so that for 42 | every four lines of normal sized type, there is five lines of the sidenote. eg: 43 | 44 | New type size in em's: 45 | 10px (wanted side note size) / 12px (existing base size) = 0.8333 (new type size in ems) 46 | 47 | New line-height value: 48 | 12px x 1.5 = 18px (old line-height) 49 | 18px x 4 = 72px 50 | 72px / 5 = 14.4px (new line height) 51 | 14.4px / 10px = 1.44 (new line height in em's) */ 52 | 53 | p.incr, .incr p { 54 | font-size: 10px; 55 | line-height: 1.44em; 56 | margin-bottom: 1.5em; 57 | } 58 | 59 | 60 | /* Surround uppercase words and abbreviations with this class. 61 | Based on work by Jørgen Arnor Gårdsø Lom [http://twistedintellect.com/] */ 62 | 63 | .caps { 64 | font-variant: small-caps; 65 | letter-spacing: 1px; 66 | text-transform: lowercase; 67 | font-size:1.2em; 68 | line-height:1%; 69 | font-weight:bold; 70 | padding:0 2px; 71 | } 72 | -------------------------------------------------------------------------------- /doc/assets/blueprint-css/print.css: -------------------------------------------------------------------------------- 1 | /* ----------------------------------------------------------------------- 2 | 3 | 4 | Blueprint CSS Framework 0.9 5 | http://blueprintcss.org 6 | 7 | * Copyright (c) 2007-Present. See LICENSE for more info. 8 | * See README for instructions on how to use Blueprint. 9 | * For credits and origins, see AUTHORS. 10 | * This is a compressed file. See the sources in the 'src' directory. 11 | 12 | ----------------------------------------------------------------------- */ 13 | 14 | /* print.css */ 15 | body {line-height:1.5;font-family:"Helvetica Neue", Arial, Helvetica, sans-serif;color:#000;background:none;font-size:10pt;} 16 | .container {background:none;} 17 | hr {background:#ccc;color:#ccc;width:100%;height:2px;margin:2em 0;padding:0;border:none;} 18 | hr.space {background:#fff;color:#fff;} 19 | h1, h2, h3, h4, h5, h6 {font-family:"Helvetica Neue", Arial, "Lucida Grande", sans-serif;} 20 | code {font:.9em "Courier New", Monaco, Courier, monospace;} 21 | img {float:left;margin:1.5em 1.5em 1.5em 0;} 22 | a img {border:none;} 23 | p img.top {margin-top:0;} 24 | blockquote {margin:1.5em;padding:1em;font-style:italic;font-size:.9em;} 25 | .small {font-size:.9em;} 26 | .large {font-size:1.1em;} 27 | .quiet {color:#999;} 28 | .hide {display:none;} 29 | a:link, a:visited {background:transparent;font-weight:700;text-decoration:underline;} 30 | a:link:after, a:visited:after {content:" (" attr(href) ")";font-size:90%;} -------------------------------------------------------------------------------- /extensions/screenshare/chrome/background.js: -------------------------------------------------------------------------------- 1 | var screenOptions = ['screen', 'window']; 2 | 3 | chrome.runtime.onConnect.addListener(function (port) { 4 | port.onMessage.addListener(portOnMessageHanlder); 5 | 6 | // this one is called for each message from "content-script.js" 7 | function portOnMessageHanlder(message) { 8 | 9 | console.log('portOnMessageHanlder', message); 10 | 11 | if (!!message['get-custom-sourceId']) { 12 | screenOptions = message['get-custom-sourceId']; 13 | chrome.desktopCapture.chooseDesktopMedia(screenOptions, port.sender.tab, onAccessApproved); 14 | return; 15 | } 16 | 17 | if (message == 'get-sourceId') { 18 | chrome.desktopCapture.chooseDesktopMedia(screenOptions, port.sender.tab, onAccessApproved); 19 | return; 20 | } 21 | 22 | if (message == 'audio-plus-tab') { 23 | screenOptions = ['screen', 'window', 'audio', 'tab']; 24 | chrome.desktopCapture.chooseDesktopMedia(screenOptions, port.sender.tab, onAccessApproved); 25 | return; 26 | } 27 | } 28 | 29 | // on getting sourceId 30 | // "sourceId" will be empty if permission is denied. 31 | function onAccessApproved(sourceId, opts) { 32 | // if "cancel" button is clicked 33 | if (!sourceId || !sourceId.length) { 34 | return port.postMessage('PermissionDeniedError'); 35 | } 36 | 37 | // "ok" button is clicked; share "sourceId" with the 38 | // content-script which will forward it to the webpage 39 | port.postMessage({ 40 | sourceId: sourceId, 41 | canRequestAudioTrack: !!opts.canRequestAudioTrack 42 | }); 43 | } 44 | }); 45 | -------------------------------------------------------------------------------- /extensions/screenshare/chrome/content.js: -------------------------------------------------------------------------------- 1 | // this content-script plays role of medium to publish/subscribe messages from webpage to the background script 2 | 3 | // this object is used to make sure our extension isn't conflicted with irrelevant messages! 4 | var rtcmulticonnectionMessages = { 5 | 'are-you-there': true, 6 | 'get-sourceId': true, 7 | 'audio-plus-tab': true 8 | }; 9 | 10 | // this port connects with background script 11 | var port = chrome.runtime.connect(); 12 | 13 | // if background script sent a message 14 | port.onMessage.addListener(function (message) { 15 | // get message from background script and forward to the webpage 16 | window.postMessage(message, '*'); 17 | }); 18 | 19 | // this event handler watches for messages sent from the webpage 20 | // it receives those messages and forwards to background script 21 | window.addEventListener('message', function (event) { 22 | // if invalid source 23 | if (event.source != window) 24 | return; 25 | 26 | if(!!event.data['get-custom-sourceId']) { 27 | // forward message to background script 28 | port.postMessage(event.data); 29 | return; 30 | } 31 | 32 | // it is 3rd party message 33 | if(!rtcmulticonnectionMessages[event.data]) return; 34 | 35 | // if browser is asking whether extension is available 36 | if(event.data == 'are-you-there') { 37 | window.postMessage('rtcmulticonnection-extension-loaded', '*'); 38 | } 39 | 40 | // if it is something that need to be shared with background script 41 | if(event.data == 'get-sourceId' || event.data === 'audio-plus-tab') { 42 | // forward message to background script 43 | port.postMessage(event.data); 44 | } 45 | }); 46 | 47 | // inform browser that you're available! 48 | window.postMessage('rtcmulticonnection-extension-loaded', '*'); 49 | -------------------------------------------------------------------------------- /extensions/screenshare/chrome/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/extensions/screenshare/chrome/icon.png -------------------------------------------------------------------------------- /extensions/screenshare/chrome/icon128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/extensions/screenshare/chrome/icon128.png -------------------------------------------------------------------------------- /extensions/screenshare/chrome/icon16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/extensions/screenshare/chrome/icon16.png -------------------------------------------------------------------------------- /extensions/screenshare/chrome/icon48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/extensions/screenshare/chrome/icon48.png -------------------------------------------------------------------------------- /extensions/screenshare/chrome/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "LiveSmart Screen Capturing", 3 | "author": "Nikolay Hadjidimitrov", 4 | "version" : "1.4", 5 | "manifest_version" : 2, 6 | "minimum_chrome_version": "34", 7 | "description" : "Capture screen sharing on any HTTPs domain made for LiveSmart Video Chat", 8 | "homepage_url": "https://www.new-dev.com/page/ident/live_smart_video_chat_installation", 9 | "background": { 10 | "scripts": ["background.js"], 11 | "persistent": false 12 | }, 13 | "content_scripts": [ { 14 | "js": [ "content.js" ], 15 | "all_frames": true, 16 | "run_at": "document_end", 17 | "matches": ["https://*/*"] 18 | }], 19 | "icons": { "16": "icon16.png", 20 | "48": "icon48.png", 21 | "128": "icon128.png" }, 22 | "permissions": [ 23 | "desktopCapture", 24 | "activeTab" 25 | ], 26 | "web_accessible_resources": [ 27 | "icon16.png" 28 | ] 29 | } -------------------------------------------------------------------------------- /extensions/wordpress/assets/banner-772x250.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/extensions/wordpress/assets/banner-772x250.png -------------------------------------------------------------------------------- /extensions/wordpress/assets/icon-128x128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/extensions/wordpress/assets/icon-128x128.png -------------------------------------------------------------------------------- /extensions/wordpress/trunk/livesmart-plugin.php: -------------------------------------------------------------------------------- 1 | 19 | '; 20 | } 21 | 22 | function ls_shortcode($atts = [], $content = null, $tag = '') { 23 | $names = isset($atts['names']) ? $atts['names'] : ''; 24 | $avatar = isset($atts['avatar']) ? $atts['avatar'] : ''; 25 | $roomId = isset($atts['roomid']) ? $atts['roomid'] : ''; 26 | $agentId = isset($atts['agentid']) ? $atts['agentid'] : ''; 27 | ob_start(); 28 | html_livesmart_code($names, $avatar, $roomId, $agentId); 29 | 30 | return ob_get_clean(); 31 | } 32 | 33 | add_shortcode('livesmart_widget', 'ls_shortcode'); 34 | 35 | add_action('admin_menu', 'livesmart_plugin_settings'); 36 | 37 | add_action('livesmart_widget', 'html_livesmart_code'); 38 | 39 | function livesmart_plugin_settings() { 40 | add_menu_page('LiveSmart Settings', 'LiveSmart Settings', 'administrator', 'fwds_settings', 'livesmart_display_settings'); 41 | add_submenu_page('fwds_settings', 'LiveSmart Dashboard', 'LiveSmart Dashboard', 'publish_pages', 'fwds_visitors', 'livesmart_display_dash'); 42 | } 43 | 44 | function livesmart_display_dash() { 45 | $current_user = wp_get_current_user(); 46 | $livesmart_server_url = (get_option('livesmart_server_url') != '') ? get_option('livesmart_server_url') : ''; 47 | if ($livesmart_server_url) { 48 | echo ''; 49 | } else { 50 | echo 'Please define server URL from the settings page'; 51 | } 52 | } 53 | 54 | 55 | function livesmart_display_settings() { 56 | 57 | $livesmart_server_url = (get_option('livesmart_server_url') != '') ? get_option('livesmart_server_url') : ''; 58 | $livesmart_css = (get_option('livesmart_css') != '') ? get_option('livesmart_css') : ''; 59 | $message = (get_option('livesmart_front_message') != '') ? get_option('livesmart_front_message') : ''; 60 | $names = (get_option('livesmart_names') != '') ? get_option('livesmart_names') : ''; 61 | $avatar = (get_option('livesmart_avatar') != '') ? get_option('livesmart_avatar') : ''; 62 | $html = '
63 | 64 |
65 | 66 |

Select Your Settings

' . wp_nonce_field('update-options') . ' 67 | 68 | 69 | 72 | 74 | 75 | 76 | 79 | 81 | 82 | 83 | 86 | 88 | 89 | 90 | 93 | 95 | 96 | 97 | 100 | 102 | 103 | 104 |
70 | 71 |
77 | 78 |
84 | 85 |
91 | 92 |
98 | 99 |
105 |

106 | 107 | 108 | 109 |

110 |
111 |
'; 112 | echo $html; 113 | } 114 | 115 | ?> -------------------------------------------------------------------------------- /extensions/wordpress/trunk/readme.md: -------------------------------------------------------------------------------- 1 | Steps to integrate LiveSmart WP plugin: 2 | 3 | 1. Installation 4 | 5 | - Make sure you have LiveSmart Video Chat installed. 6 | If you do not have it, please visit https://codecanyon.net/item/livesmart-video-chat/23122332 7 | Installation details can be found here https://www.new-dev.com/page/ident/live_smart_video_chat_installation 8 | - Add the file livesmart-plugin.php to wp-content/plugins folder. The plug-in will appear in the WordPress admin panel under Plugins section. 9 | - Activate the plug-in. 10 | 11 | 2. Setup 12 | 13 | After the activation, a new link appears in the left menu - LiveSmart Settings. 14 | 15 | - Server URL - fill in your server URL. 16 | - Button CSS - this is the message that appears on our button. 17 | - Button Message - The label on the button. Default is "Start Video Chat". 18 | - Agent Name - Name of the agent. 19 | - Agent Avatar - URL of an image of the agent. 20 | 21 | 3. WordPress site integration 22 | 23 | Use one of the two options to integrate our widget in your site: 24 | 25 | - It can be put on a single page. 26 | From the Pages section, edit the content of the page and place the tag [livesmart_widget] 27 | - It can be set up in the menu, the header, the footer, etc. Open the necessary PHP page for ex. header.php, footer.php, from Appearance - Editor and place the following WordPress hook 28 | 29 | 4. LiveSmart Dashboard 30 | 31 | - After you set the correct settings and your DB is set and installed, you can visit LiveSmart Dashboard in the menu. -------------------------------------------------------------------------------- /extensions/wordpress/trunk/readme.txt: -------------------------------------------------------------------------------- 1 | === LiveSmart Video Chat Live Video Chat === 2 | Contributors: nhadjidimitrov 3 | Author URI: https://www.new-dev.com/page/ident/live_smart_video_chat 4 | Tags: webrtc, video conference, audio, chat, call 5 | Requires at least: 2.9+ 6 | Tested up to: 4.2 7 | Stable tag: 1.2 8 | 9 | LiveSmart Video Chat Live Video chat plugin for WordPress that allows visitors to establish live video chat in the browser without download. 10 | 11 | == Description == 12 | 13 | The plugin is developed by LiveSmart Video Chat Inc., whose mission is to bring face-to-face communication online. Host your own live video/chat sessions, interact with your visitors and boost your sales. 14 | 15 | LiveSmart Video Chat plugin lets you embed ‘Video Chat' button, online and offline forms on your website to let your website visitors click to start a video or regular chat with you directly. Visitors can also make an audio or video call directly from their web browser. 16 | 17 | Before installing this plugin make sure you have installed LiveSmart Video Chat on your server. You can acquire it from CodeCanyon. 18 | 19 | You can use LiveSmart Video Chat to: 20 | 21 | - Live video and/or audio chat; 22 | - Own notification server, no third party software or accounts needed; 23 | - File transfer; 24 | - Pure HTML5 Web chat; 25 | - Screen sharing. Supported on Chrome with additional plugin (Your will be guided in the installation process), Firefox 52+ and MS Edge 17+ browsers; 26 | - Switch between front and back camera of your mobile; 27 | - Notification system; 28 | - Mobile friendly; 29 | - Button for establishing a direct connection and a facility to track the presence of your visitors; 30 | - Predefined buttons styling; 31 | - Internationalization; 32 | - Ability to set own video chat room; 33 | 34 | Integrate With Your Theme 35 | 36 | The LiveSmart Video Chat Plugin gives you the option to customize your button with a text of your own choice. Get exactly the look and feel you want. 37 | 38 | = Options = 39 | 40 | The following options are customizable: 41 | 42 | * message on the LiveSmart Video Chat button 43 | * CSS for the look and feel of the button 44 | * Room ID 45 | 46 | = Reference = 47 | 48 | Overview, user guide and installation instructions: 49 | [https://www.new-dev.com/page/ident/live_smart_video_chat](https://www.new-dev.com/page/ident/live_smart_video_chat "https://www.new-dev.com/page/ident/live_smart_video_chat") 50 | Live Smart in CodeCanyon: 51 | [https://codecanyon.net/item/livesmart-video-chat/23122332](https://codecanyon.net/item/livesmart-video-chat/23122332 "https://codecanyon.net/item/livesmart-video-chat/23122332") 52 | 53 | == Frequently Asked Questions == 54 | 55 | = What browser does LiveSmart Video Chat support? = 56 | 57 | LiveSmart Video Chat is supported on all major browsers: 58 | 59 | – Desktop PC. Microsoft Edge 12+, Google Chrome 28+, Mozilla Firefox 22+, Safari 11+, Opera 18+, Vivaldi 1.9+, IE 11 (Needs installation of Temasys plugin. You will be guided through the installation process) 60 | – Android. Google Chrome 28+ (enabled by default since 29), Mozilla Firefox 24+, Opera Mobile 12+ 61 | – Chrome OS. 62 | – Firefox OS. 63 | – Blackberry 10. 64 | – at least iOS 11. MobileSafari/Mac Safari. For legacy Safari (older than v.11) you will be prompted to install Temasys plugin. 65 | 66 | = What devices does LiveSmart Video Chat work with? = 67 | 68 | We're available on Android Smartphone, Android Tablet, iPad, iPhone, Mac, and PC. 69 | 70 | = How much does it cost? = 71 | 72 | The solution is currently free! 73 | 74 | = Do I have to install any hardware/software on my premises to use this widget? = 75 | 76 | LiveSmart Video Chat is a hosted, cloud based live video communication service. It does not require you to install any additional hardware or software. Simply configure the plugin to suit your preferences and you should be up, and running in minutes. 77 | 78 | = I want to provide feedback! = 79 | 80 | We love feedback! Feel free to drop us a line at info@new-dev.com for the things you do like or you don't, additional features you would like to see or just to say hi. We will make our best to take them into consideration! Thanks 81 | 82 | = My question is not answered here! = 83 | 84 | If you have any questions, please send us an email - info@new-dev.com 85 | 86 | 87 | == Installation == 88 | 89 | How should I setup LiveSmart Video Chat's Wordpress live video button for my site? 90 | 91 | Just follow the steps listed below. If at any point you have troubles with the installation don't hesitate to contact us - we would love to help you out: 92 | 93 | 1/ Install and activate the plugin 94 | 95 | 2/ Once you active the plugin on your left panel you will be able to see LiveSmart Video Chat's plugin settings. Click on them. 96 | 97 | 3/ Enter the following information in the form: 98 | 99 | a/ Server URL : fill in your server URL. 100 | 101 | b/ Button CSS - this is the message that appears on our button; 102 | 103 | c/ Button Message - The label on the button. Default is "Start Video Chat". We recommend it to be shorter e.g. Video call me or Video Call George. You can change the front message as you like; 104 | 105 | d/ room ID - (optional) this is the private roomId of the agent. When you generate a link, this is the string after room attribute. For example if the link is something like this: pages/room.html?room=2bsdhnz0lvs&isAdmin=1 - copy/paste 2bsdhnz0lvs in the shortcode, [livesmart_widget roomId="2bsdhnz0lvs"]; 106 | 107 | e/ names - (optional) names of the agent, that is receiving the calls. You can set this in the Settings page, or in the shortcode as a parameter, for example [livesmart_widget names="NAME_OF_AGENT"] where NAME_OF_AGENT should be the actual name. 108 | 109 | f/ avatar - (optional) URL with an image of the agent. You can set this in the Settings page, or in the shortcode as a parameter, for example [livesmart_widget avatar="URL_OF_AGENT_AVATAR"] where URL_OF_AGENT_AVATAR should be a valid URL of an image of the agent. 110 | 111 | 4/ LiveSmart Video Chat button can be positioned on any page you would like: 112 | 113 | a/ For a single page - Go to Pages menu on the left panel --> Click the page where you would like to see the button for example About Us --> Click the Classic Editor (if you are using Page Composer) ---> Text --> Place [livesmart_widget]. If you want to see the button below your picture, find the corresponding alt tag and place [livesmart_widget] below 114 | 115 | b/ For multiple pages e.g.menu, the header, the footer, etc. - Go to Appearance menu on the left panel --> Click Editor --> Open the necessary PHP page e.g. header.php --> Place the following WordPress hook `` 116 | 117 | 5/ After you have set correctly LiveSmart Video Chat and your Database, you can visit the Dashboard menu. There you can track your visitors, add/change agents, add rooms and regular visitors. 118 | The LiveSmart Wordpress plugin is available for WP users with capabilities to add pages. In order to login directly to Dashboard, make sure your WP user has the same username as the LiveSmart agent. Default LSV agent has credentials of admin/admin. 119 | 120 | 6/ Enjoy! 121 | 122 | Thanks for using LiveSmart Video Chat :) 123 | 124 | P.S. If you have any troubles with installation feel free do drop us a line at info@new-dev.com 125 | 126 | == Changelog == 127 | 128 | = 1.2 = 129 | * Added Dashboard menu 130 | 131 | = 1.1 = 132 | * Plugin tested up to WordPress 4.2 133 | 134 | = 1.0 = 135 | * Initial release 136 | -------------------------------------------------------------------------------- /favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/favicon.ico -------------------------------------------------------------------------------- /img/arrow-dr-down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/arrow-dr-down.png -------------------------------------------------------------------------------- /img/audio_call.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/audio_call.png -------------------------------------------------------------------------------- /img/audio_call_hover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/audio_call_hover.png -------------------------------------------------------------------------------- /img/avatar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/avatar.png -------------------------------------------------------------------------------- /img/block.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/block.png -------------------------------------------------------------------------------- /img/camera_flip.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/camera_flip.png -------------------------------------------------------------------------------- /img/camera_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/camera_small.png -------------------------------------------------------------------------------- /img/chat_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/chat_small.png -------------------------------------------------------------------------------- /img/chaticon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/chaticon.png -------------------------------------------------------------------------------- /img/check.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/check.png -------------------------------------------------------------------------------- /img/chrome.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/chrome.png -------------------------------------------------------------------------------- /img/chromefirefox_icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/chromefirefox_icons.png -------------------------------------------------------------------------------- /img/clearcanvas.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/clearcanvas.png -------------------------------------------------------------------------------- /img/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/close.png -------------------------------------------------------------------------------- /img/delete.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/delete.gif -------------------------------------------------------------------------------- /img/exit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/exit.png -------------------------------------------------------------------------------- /img/file_transfer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/file_transfer.png -------------------------------------------------------------------------------- /img/firefox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/firefox.png -------------------------------------------------------------------------------- /img/grant.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/grant.png -------------------------------------------------------------------------------- /img/hangup_big.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/hangup_big.png -------------------------------------------------------------------------------- /img/icon-but.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/icon-but.png -------------------------------------------------------------------------------- /img/icon-recording-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/icon-recording-off.png -------------------------------------------------------------------------------- /img/icon-recording-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/icon-recording-on.png -------------------------------------------------------------------------------- /img/ie_plugin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/ie_plugin.png -------------------------------------------------------------------------------- /img/listusers.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/listusers.png -------------------------------------------------------------------------------- /img/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/logo.png -------------------------------------------------------------------------------- /img/maximize.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/maximize.png -------------------------------------------------------------------------------- /img/minimize.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/minimize.png -------------------------------------------------------------------------------- /img/next-camera.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/next-camera.png -------------------------------------------------------------------------------- /img/novideoaudio.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/novideoaudio.png -------------------------------------------------------------------------------- /img/offline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/offline.png -------------------------------------------------------------------------------- /img/online.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/online.png -------------------------------------------------------------------------------- /img/permission_chrome.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/permission_chrome.png -------------------------------------------------------------------------------- /img/permission_chrome_video.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/permission_chrome_video.png -------------------------------------------------------------------------------- /img/permission_error_chrome.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/permission_error_chrome.png -------------------------------------------------------------------------------- /img/permission_error_firefox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/permission_error_firefox.png -------------------------------------------------------------------------------- /img/permission_firefox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/permission_firefox.png -------------------------------------------------------------------------------- /img/permission_firefox_video.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/permission_firefox_video.png -------------------------------------------------------------------------------- /img/permission_ie.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/permission_ie.png -------------------------------------------------------------------------------- /img/raisehand.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/raisehand.png -------------------------------------------------------------------------------- /img/recording.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/recording.png -------------------------------------------------------------------------------- /img/revoke.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/revoke.png -------------------------------------------------------------------------------- /img/safari_download.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/safari_download.jpg -------------------------------------------------------------------------------- /img/screenshare.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/screenshare.png -------------------------------------------------------------------------------- /img/screensharestop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/screensharestop.png -------------------------------------------------------------------------------- /img/send.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/send.png -------------------------------------------------------------------------------- /img/small-avatar.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/small-avatar.jpg -------------------------------------------------------------------------------- /img/sprite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/sprite.png -------------------------------------------------------------------------------- /img/star.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/star.gif -------------------------------------------------------------------------------- /img/swipe_left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/swipe_left.png -------------------------------------------------------------------------------- /img/swipe_right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/swipe_right.png -------------------------------------------------------------------------------- /img/video-avatar.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/video-avatar.jpg -------------------------------------------------------------------------------- /img/video-wait.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/video-wait.jpg -------------------------------------------------------------------------------- /img/video_call.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/video_call.png -------------------------------------------------------------------------------- /img/video_call_hover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/video_call_hover.png -------------------------------------------------------------------------------- /img/wd-chat-big.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/wd-chat-big.png -------------------------------------------------------------------------------- /img/whiteboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/whiteboard.png -------------------------------------------------------------------------------- /img/whiteboard/arc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/whiteboard/arc.png -------------------------------------------------------------------------------- /img/whiteboard/arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/whiteboard/arrow.png -------------------------------------------------------------------------------- /img/whiteboard/brush.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/whiteboard/brush.png -------------------------------------------------------------------------------- /img/whiteboard/colorsPicker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/whiteboard/colorsPicker.png -------------------------------------------------------------------------------- /img/whiteboard/dragMultiple.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/whiteboard/dragMultiple.png -------------------------------------------------------------------------------- /img/whiteboard/dragSingle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/whiteboard/dragSingle.png -------------------------------------------------------------------------------- /img/whiteboard/eraser.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/whiteboard/eraser.png -------------------------------------------------------------------------------- /img/whiteboard/extraOptions.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/whiteboard/extraOptions.png -------------------------------------------------------------------------------- /img/whiteboard/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/whiteboard/image.png -------------------------------------------------------------------------------- /img/whiteboard/line.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/whiteboard/line.png -------------------------------------------------------------------------------- /img/whiteboard/lineWidth.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/whiteboard/lineWidth.png -------------------------------------------------------------------------------- /img/whiteboard/pdf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/whiteboard/pdf.png -------------------------------------------------------------------------------- /img/whiteboard/pencil.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/whiteboard/pencil.png -------------------------------------------------------------------------------- /img/whiteboard/rectangle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/whiteboard/rectangle.png -------------------------------------------------------------------------------- /img/whiteboard/text.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/whiteboard/text.png -------------------------------------------------------------------------------- /img/whiteboard/undo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/whiteboard/undo.png -------------------------------------------------------------------------------- /img/whiteboard/zoom_in.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/whiteboard/zoom_in.png -------------------------------------------------------------------------------- /img/whiteboard/zoom_out.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/img/whiteboard/zoom_out.png -------------------------------------------------------------------------------- /js/additional.js: -------------------------------------------------------------------------------- 1 | $(document).on('CallEnded', function (e) { 2 | console.log('Additional call ended'); 3 | }); -------------------------------------------------------------------------------- /js/canvas-designer-widget.js: -------------------------------------------------------------------------------- 1 | function CanvasDesigner(){function a(a){return a.data&&a.data.uid===b.uid?!a.data.sdp?!a.data.canvasDesignerSyncData?!a.data.dataURL?void 0:void f(a.data.dataURL):(b.pointsLength=a.data.canvasDesignerSyncData.points.length,void e(a.data.canvasDesignerSyncData)):void webrtcHandler.createAnswer(a.data,function(a){return a.sdp?void b.postMessage(a):void g(a.stream)}):void 0}var b=this;b.iframe=null;var c={line:!0,arrow:!0,pencil:!0,dragSingle:!0,dragMultiple:!0,eraser:!0,rectangle:!0,arc:!0,bezier:!0,quadratic:!0,text:!0,image:!0,pdf:!0,marker:!0,zoom:!0,lineWidth:!0,colorsPicker:!0,extraOptions:!0,code:!0};b.icons={line:null,arrow:null,pencil:null,dragSingle:null,dragMultiple:null,eraser:null,rectangle:null,arc:null,bezier:null,quadratic:null,text:null,image:null,pdf:null,pdf_next:null,pdf_prev:null,pdf_close:null,marker:null,zoom:null,lineWidth:null,colorsPicker:null,extraOptions:null,code:null};var d="pencil",e=function(){},f=function(){},g=function(){};b.uid=function(){if(window.crypto&&window.crypto.getRandomValues&&-1===navigator.userAgent.indexOf("Safari")){for(var b=window.crypto.getRandomValues(new Uint32Array(3)),a="",c=0,d=b.length;cparseInt(jQuery.fn.jquery.split('.')[1])?loadScript('https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js',function(){jQEngager=jQuery.noConflict(!0),jQEngager.get(lsRepUrl+'pages/version.txt?v='+ms,function(a){currVersion=a,jQEngager(document).ready(new initVideoLoader)})}):(jQEngager=jQuery,jQEngager.get(lsRepUrl+'pages/version.txt?v='+ms,function(a){currVersion=a,jQEngager(document).ready(new initVideoLoader)})); -------------------------------------------------------------------------------- /js/loader.v2.js: -------------------------------------------------------------------------------- 1 | var jQEngager,notify_handler,ms=Date.now(),currVersion=ms,scripts=document.getElementsByTagName("script"),index=scripts.length-1;currScript=scripts[index];var lsRepUrl=currScript.getAttribute("data-source_path"),autoReconnectInterval=5000,initVideoLoader=function(){var a=function(){var a=new comController;agentId?a.init("admin","dashboard"+agentId):a.init("admin","dashboard"),notify_handler=new notifyHandler,notify_handler.init()},b=function(){loadScript(lsRepUrl+"js/bundle.js",a)},c=function(){loadScript(svConfigs.appWss+"socket.io/socket.io.js",b)},d=function(){$.ajax({url:lsRepUrl+"config/config.json?v="+currVersion,type:"GET",dataType:"json",beforeSend:function(a){a&&a.overrideMimeType&&a.overrideMimeType("application/j-son;charset=UTF-8")},success:function(a){svConfigs=a,c()}})};d()};function loadScript(a,b){var c=document.createElement("script");c.type="text/javascript",c.readyState?c.onreadystatechange=function(){("loaded"==c.readyState||"complete"==c.readyState)&&(c.onreadystatechange=null,b&&b())}:(c.onload=function(){b&&b()},c.onerror=function(){setTimeout(function(){jQEngager("#statusbar").html("Connection failed. Reconnecting..."),jQEngager("#statusbar").show(),loadScript(a,b)},autoReconnectInterval)}),c.src=a+"?v="+currVersion,document.getElementsByTagName("head")[0].appendChild(c)}var ms=Date.now();"undefined"==typeof jQuery||11>parseInt(jQuery.fn.jquery.split(".")[1])?loadScript("https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js",function(){jQEngager=jQuery.noConflict(!0),jQEngager.get(lsRepUrl+"pages/version.txt?v="+ms,function(a){currVersion=a,jQEngager(document).ready(new initVideoLoader)})}):(jQEngager=jQuery,jQEngager.get(lsRepUrl+"pages/version.txt?v="+ms,function(a){currVersion=a,jQEngager(document).ready(new initVideoLoader)})); -------------------------------------------------------------------------------- /js/room.js: -------------------------------------------------------------------------------- 1 | var queryString,svConfigs,ms=Date.now(),currVersion=ms,lsRepUrl=window.location.protocol+"//"+window.location.host+"/",autoReconnectInterval=5000,configName="config.json";function loadScript(a,b){var c=document.createElement("script");c.type="text/javascript",c.readyState?c.onreadystatechange=function(){("loaded"==c.readyState||"complete"==c.readyState)&&(c.onreadystatechange=null,b&&b())}:(c.onload=function(){b&&b()},c.onerror=function(){setTimeout(function(){loadScript(a,b)},autoReconnectInterval)}),c.src=a+"?v="+currVersion,document.getElementsByTagName("head")[0].appendChild(c)}function sendPopupMessage(a){$("#homepage").postMessage(a,"*")}var QueryString=function(){for(var a,b={},c=window.location.search.substring(1),d=c.split("&"),e=0;e",{rel:"stylesheet",type:"text/css",href:lsRepUrl+"css/"+a+"?v="+currVersion});b.appendTo("head");var c=jQEngager("",{rel:"stylesheet",type:"text/css",href:lsRepUrl+"css/"+"simplechat.css"+"?v="+currVersion});c.appendTo("head"),$container=jQEngager("#nd-widget-container"),j($container)},i=function(){isOnline?jQEngager("#widget_but_span").attr("class","online-bnt"):jQEngager("#widget_but_span").attr("class","offline-bnt")},j=function(a){jQEngager.get(lsRepUrl+"pages/button.html",function(d){a.append(d),console.log("loadButton"),jQEngager(document).on("AdminOnline",function(){isOnline=!0,i()}),jQEngager(document).on("AdminOffline",function(){isOnline=!1,i()}),jQEngager("#newdev_widget_msg").html(b),jQEngager("#widget-but").on("click",function(){isOnline?c():offlineEmail?(jQEngager("#widget_tooltip_container").show(),jQEngager("#widget_tooltip_container").on("click",function(a){jQEngager("#widget_tooltip_container").hide(),a.stopPropagation()}),jQEngager("#offline_message").on("click",function(a){a.stopPropagation()}),jQEngager("#sendEmail").on("click",function(){jQEngager("#widget_tooltip_container").hide();var a=jQEngager("#offline_message").val();document.location.href="mailto:"+offlineEmail+"?subject=Offline request&body="+a})):offlinePage&&(-1===offlinePage.indexOf("http")&&(offlinePage="http://"+offlinePage),window.open(offlinePage))}),jQEngager(document).off("ChatMessage"),jQEngager(document).on("ChatMessage",function(a){if(a.privateId==sessionId)if(localStorage.getItem("noMoreLsvChat")){comm_controller.addLocalChat("User has closed the chat!",null,sessionId)}else jQEngager(".msger-lsv-widget").css("height","420px"),jQEngager(".msger-lsv-chat").show(),jQEngager("#minimizeSimpleChat").show(),jQEngager(".msger-lsv-inputarea").show(),jQEngager("#maximizeSimpleChat").hide(),jQEngager("#simpleButton").show(),f("Agent","left",a.msg)});var f=function(a,b,c){if(c){var d=jQEngager(".msger-lsv-chat")[0];const e=` 2 |
3 |
4 |
5 |
${a}
6 |
${getPrettyDate(new Date().getTime()/1e3)}
7 |
8 | 9 |
${c}
10 |
11 |
12 | `;d.insertAdjacentHTML("beforeend",e),d.scrollTop+=500}};jQEngager(".msger-lsv-inputarea").submit(function(a){a.preventDefault();var b=jQEngager(".msger-lsv-input"),c=b.val();f("Me","right",c),b.val(""),comm_controller.addLocalChat(c,null,sessionId)}),jQEngager("#closeSimpleChat").click(function(){comm_controller.addLocalChat("User closed the chat!",null,sessionId),localStorage.setItem("noMoreLsvChat",1),jQEngager("#simpleButton").hide()}),jQEngager("#minimizeSimpleChat").click(function(a){a.stopPropagation(),jQEngager(".msger-lsv-widget").css("height","40px"),jQEngager(".msger-lsv-chat").hide(),jQEngager(".msger-lsv-inputarea").hide(),jQEngager("#minimizeSimpleChat").hide(),jQEngager("#maximizeSimpleChat").show()}),jQEngager(".msger-lsv-header").click(function(a){a.stopPropagation(),jQEngager(".msger-lsv-widget").css("height","420px"),jQEngager(".msger-lsv-chat").show(),jQEngager(".msger-lsv-inputarea").show(),jQEngager("#minimizeSimpleChat").show(),jQEngager("#maximizeSimpleChat").hide()}),jQEngager("#minimizeLsvImage").attr("src",lsRepUrl+"/img/minimize.png"),jQEngager("#maximizeLsvImage").attr("src",lsRepUrl+"/img/maximize.png"),jQEngager("#closeLsvImage").attr("src",lsRepUrl+"/img/close.png")})};e()};function loadScript(a,b){var c=document.createElement("script");c.type="text/javascript",c.readyState?c.onreadystatechange=function(){("loaded"==c.readyState||"complete"==c.readyState)&&(c.onreadystatechange=null,b&&b())}:(c.onload=function(){b&&b()},c.onerror=function(){setTimeout(function(){loadScript(a,b)},autoReconnectInterval)}),c.src=a+"?v="+currVersion,document.getElementsByTagName("head")[0].appendChild(c)}var ms=Date.now();"undefined"==typeof jQuery||11>parseInt(jQuery.fn.jquery.split(".")[1])?loadScript("https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js",function(){jQEngager=jQuery.noConflict(!0),jQEngager.get(lsRepUrl+"pages/version.txt?v="+ms,function(a){currVersion=a,jQEngager(document).ready(new initVideoNewDev)})}):(jQEngager=jQuery,jQEngager.get(lsRepUrl+"pages/version.txt?v="+ms,function(a){currVersion=a,jQEngager(document).ready(new initVideoNewDev)})); -------------------------------------------------------------------------------- /locales/en_US.json: -------------------------------------------------------------------------------- 1 | { 2 | "Cancel" : "Cancel", 3 | "waitingToConnect" : "Please wait", 4 | "answerWithAudio" : "Answer with Voice Only", 5 | "callWithAudio" : "Call with Voice Only", 6 | "answerWithVideo" : "Answer with Video", 7 | "callWithVideo" : "Call with Video", 8 | "exitMeeting" : "Exit meeting", 9 | "fileTransfer" : "Send a File", 10 | "showHideVideo" : "Toggle Video", 11 | "showHideAudio" : "Toggle Audio", 12 | "startShare" : "Start a ScreenShare Session", 13 | "stopShare" : "Stop Screen Sharing", 14 | "enableScreenShare" : "You have to install Chrome extension to enable screen sharing from Google Webstore.", 15 | "cameraSwitch" : "Switch to Another Camera", 16 | "chatScreen" : "chat
screen", 17 | "videoScreen" : "video
screen", 18 | "waitingOtherParty" : "Waiting for the other party to join", 19 | "nameFieldForm" : "Please fill in the field(s) below:", 20 | "formConferenceTitle" : "Please fill in your details", 21 | "continueButton" : "Continue", 22 | "namePlaceholder" : "Name", 23 | "avatarPlaceholder" : "Avatar", 24 | "passwordPlaceholder" : "Password", 25 | "rejectCall" : "Reject Call", 26 | "hangupButton" : "Hangup", 27 | "incomingText" : "{{caller_name}} is calling you", 28 | "audio" : "Audio", 29 | "video" : "Video", 30 | "reject" : "Reject", 31 | "startRecording" : "Start Recording", 32 | "stopRecording" : "Stop Recording", 33 | "recording" : "Recording", 34 | "joinedChat" : "{{caller_name}} joined", 35 | "leftChat" : "{{caller_name}} left", 36 | "raiseHandText" : "{{caller_name}} requires privileges", 37 | "previewRecording" : "Preview Recording", 38 | "notValidPassword" : "Not a valid pass", 39 | "notValidToken" : "Not a valid token", 40 | "incomingFile" : "{{caller_name}} is sending file", 41 | "rejectedFile" : "{{caller_name}} rejected file", 42 | "sendingFile" : "Sending file ", 43 | "rejectFile" : "Reject", 44 | "acceptFile" : "Accept", 45 | "receivingFile" : "Receiving file ", 46 | "whiteboard" : "Whiteboard", 47 | "wb_pencil" : "Pencil", 48 | "wb_line": "Draw Lines", 49 | "wb_arrow": "Draw Arrows", 50 | "wb_brush": "Brush", 51 | "wb_dragSingle": "Drag/Move Last", 52 | "wb_dragMultiple": "Drag/Move All", 53 | "wb_eraser": "Eraser", 54 | "wb_rectangle": "Draw Rectangle", 55 | "wb_arc": "Draw Arc", 56 | "wb_text": "Add Text", 57 | "wb_image": "Add Image", 58 | "wb_zoom_up": "Zoon In", 59 | "wb_zoom_down": "Zoon Out", 60 | "wb_lineWidth": "Set Line Width", 61 | "wb_colorsPicker": "Set Colors", 62 | "wb_extraOptions": "Extra Options", 63 | "wb_undo": "Undo Last Actions", 64 | "wb_pdf": "Add PDF File", 65 | "wb_clearall": "Clear Canvas", 66 | "appointmentPast": "Your meeting is in the past", 67 | "notexactAppointment": "Your appointment is scheduled for
{{timemeeting}}.
You have {{diffString}} until it starts.", 68 | "days": "days", 69 | "day": "day", 70 | "minutes": "minutes", 71 | "hours": "hours", 72 | "hour": "hour", 73 | "notSupportedError" : "Unfortunately your browser does not support our video calling feature.
You can still chat us in the area chat area.
To make video calls, please use


Google Chrome
or

Mozilla Firefox
", 74 | "notSupportedIos" : "Please use latest Safari browser", 75 | "broadcastViewers" : "Broadcast viewers:", 76 | "broadcastStopped" : "Broadcast stopped, please reload", 77 | "incomingBroadcast" : "Incoming broadcast, click OK to accept it.", 78 | "welcomeBroadcast" : "Welcome to online course
OK", 79 | "continueToCall" : "Continue with Call", 80 | "chooseOptions" : "Choose your audio and video options", 81 | "sendMessageTo" : "Send message to ", 82 | "private" : "private:", 83 | "grant" : "Grant", 84 | "revoke" : "Revoke", 85 | "raiseHand" : "Raise Hand", 86 | "block" : "Block", 87 | "sureBlock" : "Are you sure you want to block this user?", 88 | "me" : "Me", 89 | "feedbackFieldForm" : "Please rate the video call:", 90 | "feedbackButton" : "Rate it", 91 | "meetingHasEnded" : "Meeting has ended", 92 | "turnOffCamera": "Turn off camera", 93 | "muteMe": "Mute me", 94 | "endMeeting": "Leave meeting", 95 | "snapshotDownload": "Click to download snapshot", 96 | "getSnapshot": "Capture a snapshot" 97 | } -------------------------------------------------------------------------------- /media/msgtone.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/media/msgtone.mp3 -------------------------------------------------------------------------------- /media/ringtone.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Huniko519/Chating-script/f617c0899c67144aeae59559161a2e3c898da468/media/ringtone.mp3 -------------------------------------------------------------------------------- /pages/button.html: -------------------------------------------------------------------------------- 1 |
2 | 23 | 24 | 25 | 32 | 33 |
-------------------------------------------------------------------------------- /pages/r.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | LiveSmart Video Chat 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /pages/room.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | LiveSmart Video Chat 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 |
16 | 17 | 18 | -------------------------------------------------------------------------------- /pages/version.txt: -------------------------------------------------------------------------------- 1 | 2.0.5 -------------------------------------------------------------------------------- /routes.php: -------------------------------------------------------------------------------- 1 | prepare('SELECT * FROM ' . $dbPrefix . 'rooms WHERE `shortagenturl`= ? or `shortvisitorurl`= ? or `shortagenturl_broadcast`= ? or `shortvisitorurl_broadcast`= ?'); 10 | $stmt->execute([$short, $short, $short, $short]); 11 | $row = $stmt->fetch(); 12 | 13 | if ($row) { 14 | if ($row['shortagenturl'] == $short) { 15 | return $row['agenturl']; 16 | } 17 | if ($row['shortvisitorurl'] == $short) { 18 | return $row['visitorurl']; 19 | } 20 | if ($row['shortagenturl_broadcast'] == $short) { 21 | return $row['agenturl_broadcast']; 22 | } 23 | if ($row['shortvisitorurl_broadcast'] == $short) { 24 | return $row['visitorurl_broadcast']; 25 | } 26 | } else { 27 | return false; 28 | } 29 | } catch (Exception $e) { 30 | return false; 31 | } 32 | } 33 | 34 | $redirect = (checkRoom($_GET['short'])) ? checkRoom($_GET['short']) : '/'; 35 | Header('HTTP/1.1 301 Moved Permanently'); 36 | Header('Location: ' . $redirect); 37 | die(); 38 | -------------------------------------------------------------------------------- /server/connect.php: -------------------------------------------------------------------------------- 1 | PDO::ERRMODE_EXCEPTION, 14 | PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC, 15 | PDO::ATTR_EMULATE_PREPARES => false, 16 | ]; 17 | 18 | try { 19 | $pdo = new PDO($dsn, $username, $password, $options); 20 | } catch (\PDOException $e) { 21 | throw new \PDOException($e->getMessage(), (int)$e->getCode()); 22 | } -------------------------------------------------------------------------------- /server/dump_2.0.1.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE IF EXISTS `lsv_users`; 2 | CREATE TABLE `lsv_users` ( 3 | `user_id` int(11) NOT NULL AUTO_INCREMENT, 4 | `username` varchar(255) DEFAULT NULL, 5 | `password` varchar(255) DEFAULT NULL, 6 | `name` varchar(255) NULL, 7 | `roomId` VARCHAR(255) NULL, 8 | `first_name` VARCHAR(255) NULL, 9 | `last_name` VARCHAR(255) NULL, 10 | `token` VARCHAR(255) NULL, 11 | `is_blocked` tinyint(4) DEFAULT 0 NULL, 12 | PRIMARY KEY (`user_id`) 13 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; 14 | 15 | 16 | DROP TABLE IF EXISTS `lsv_rooms`; 17 | CREATE TABLE `lsv_rooms` ( 18 | `room_id` int(11) NOT NULL AUTO_INCREMENT , 19 | `agent` varchar(255) NULL , 20 | `visitor` varchar(255) NULL , 21 | `agenturl` varchar(2048) NULL , 22 | `visitorurl` varchar(2048) NULL , 23 | `password` varchar(255) NULL , 24 | `roomId` varchar(255) NULL , 25 | `datetime` varchar(255) NULL , 26 | `duration` varchar(255) NULL , 27 | `shortagenturl` varchar(255) NULL, 28 | `shortvisitorurl` varchar(255) NULL, 29 | `agent_id` varchar(255) NULL, 30 | `is_active` TINYINT NOT NULL DEFAULT '1', 31 | `agenturl_broadcast` varchar(2048) NULL, 32 | `visitorurl_broadcast` varchar(2048) NULL , 33 | `shortagenturl_broadcast` varchar(2048) NULL, 34 | `shortvisitorurl_broadcast` varchar(2048) NULL, 35 | `title` VARCHAR(2048) NULL, 36 | PRIMARY KEY (`room_id`) 37 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; 38 | 39 | 40 | -- ---------------------------- 41 | -- Table structure for `chats` 42 | -- ---------------------------- 43 | DROP TABLE IF EXISTS `lsv_chats`; 44 | CREATE TABLE `lsv_chats` ( 45 | `chat_id` int(255) NOT NULL AUTO_INCREMENT, 46 | `message` varchar(4000) DEFAULT NULL, 47 | `system` varchar(255) DEFAULT '', 48 | `participants` varchar(255) DEFAULT NULL, 49 | `from` varchar(255) DEFAULT NULL, 50 | `agent_id` varchar(255) DEFAULT NULL, 51 | `date_created` datetime DEFAULT NULL, 52 | `avatar` varchar(255) DEFAULT NULL, 53 | `room_id` varchar(255) DEFAULT NULL, 54 | `agent` varchar(255) DEFAULT NULL, 55 | PRIMARY KEY (`chat_id`) 56 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; 57 | 58 | 59 | DROP TABLE IF EXISTS `lsv_agents`; 60 | CREATE TABLE `lsv_agents` ( 61 | `agent_id` int(11) NOT NULL AUTO_INCREMENT, 62 | `tenant` varchar(255) DEFAULT NULL, 63 | `first_name` varchar(255) DEFAULT NULL, 64 | `last_name` varchar(255) DEFAULT NULL, 65 | `username` varchar(255) DEFAULT NULL, 66 | `password` varchar(255) DEFAULT NULL, 67 | `email` varchar(255) DEFAULT NULL, 68 | `is_master` tinyint(4) NOT NULL DEFAULT '0', 69 | `roomId` VARCHAR(255) NULL, 70 | `token` VARCHAR(255) NULL, 71 | PRIMARY KEY (`agent_id`) 72 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; 73 | 74 | -- ---------------------------- 75 | -- Records of agents 76 | -- ---------------------------- 77 | INSERT INTO `lsv_agents` VALUES ('1', 'admin', 'first', 'last', 'admin', '21232f297a57a5a743894a0e4a801fc3', 'admin@admin.com', '1', '', ''); 78 | 79 | DROP TABLE IF EXISTS `lsv_feedbacks`; 80 | CREATE TABLE IF NOT EXISTS `lsv_feedbacks` ( 81 | `feedback_id` int(255) NOT NULL AUTO_INCREMENT, 82 | `rate` tinyint(4) NOT NULL DEFAULT '0', 83 | `text` varchar(255) DEFAULT NULL, 84 | `user_id` varchar(255) DEFAULT NULL, 85 | `session_id` varchar(255) DEFAULT NULL, 86 | `room_id` varchar(255) NOT NULL, 87 | `date_added` datetime NULL, 88 | PRIMARY KEY (`feedback_id`) 89 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8; 90 | 91 | 92 | DROP TABLE IF EXISTS `lsv_drawings`; 93 | CREATE TABLE IF NOT EXISTS `lsv_drawings` ( 94 | `drawing_id` int(255) NOT NULL AUTO_INCREMENT, 95 | `drawing` text DEFAULT NULL, 96 | `room_id` varchar(255) NOT NULL, 97 | PRIMARY KEY (`drawing_id`) 98 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8; 99 | 100 | -------------------------------------------------------------------------------- /server/saverecord.php: -------------------------------------------------------------------------------- 1 |