commit 9de2cb902299dd25b8a723baaa6849558d905469 Author: Zelda Root <56031696+zeldaroot@users.noreply.github.com> Date: Fri Jun 18 22:32:15 2021 +0300 cinemapress.sh diff --git a/README.md b/README.md new file mode 100644 index 0000000..e7c48f2 --- /dev/null +++ b/README.md @@ -0,0 +1,14 @@ +# CinemaPress web-terminal/web-console + +![CinemaPress web-terminal/web-console](https://raw.githubusercontent.com/CinemaPress/CinemaPress/master/themes/default/public/admin/images/min/web.png) + +## How to install CinemaPress web-terminal/web-console? + +> #### Create PHP website `example.sh` + +- `cinemapress cms example.sh php-mysql` + +> #### Clone repo and copy to website dir + +- `git clone https://github.com/CinemaPress/CinemaPressSH.git temp` +- `cp -R temp/* /home/example.sh/` \ No newline at end of file diff --git a/android-chrome-192x192.png b/android-chrome-192x192.png new file mode 100644 index 0000000..a83059c Binary files /dev/null and b/android-chrome-192x192.png differ diff --git a/android-chrome-512x512.png b/android-chrome-512x512.png new file mode 100644 index 0000000..d7bb5be Binary files /dev/null and b/android-chrome-512x512.png differ diff --git a/apple-touch-icon.png b/apple-touch-icon.png new file mode 100644 index 0000000..4a25a79 Binary files /dev/null and b/apple-touch-icon.png differ diff --git a/browserconfig.xml b/browserconfig.xml new file mode 100644 index 0000000..249c5c1 --- /dev/null +++ b/browserconfig.xml @@ -0,0 +1,9 @@ + + + + + + #ffc40d + + + diff --git a/favicon-16x16.png b/favicon-16x16.png new file mode 100644 index 0000000..c109a9c Binary files /dev/null and b/favicon-16x16.png differ diff --git a/favicon-32x32.png b/favicon-32x32.png new file mode 100644 index 0000000..25f5af0 Binary files /dev/null and b/favicon-32x32.png differ diff --git a/favicon.ico b/favicon.ico new file mode 100644 index 0000000..8f53304 Binary files /dev/null and b/favicon.ico differ diff --git a/index.html b/index.html new file mode 100644 index 0000000..99b7013 --- /dev/null +++ b/index.html @@ -0,0 +1,1844 @@ + + + + + CinemaPress Installation | Установка | Instalación + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + + + \ No newline at end of file diff --git a/mstile-150x150.png b/mstile-150x150.png new file mode 100644 index 0000000..2117f35 Binary files /dev/null and b/mstile-150x150.png differ diff --git a/safari-pinned-tab.svg b/safari-pinned-tab.svg new file mode 100644 index 0000000..76741a7 --- /dev/null +++ b/safari-pinned-tab.svg @@ -0,0 +1,74 @@ + + + + +Created by potrace 1.11, written by Peter Selinger 2001-2013 + + + + + + + + + + + + + + diff --git a/site.webmanifest b/site.webmanifest new file mode 100644 index 0000000..db96771 --- /dev/null +++ b/site.webmanifest @@ -0,0 +1,19 @@ +{ + "name": "CinemaPress", + "short_name": "CinemaPress", + "icons": [ + { + "src": "/android-chrome-192x192.png", + "sizes": "192x192", + "type": "image/png" + }, + { + "src": "/android-chrome-512x512.png", + "sizes": "512x512", + "type": "image/png" + } + ], + "theme_color": "#ffffff", + "background_color": "#ffffff", + "display": "standalone" +} diff --git a/ssh.php b/ssh.php new file mode 100644 index 0000000..73cfd21 --- /dev/null +++ b/ssh.php @@ -0,0 +1,65 @@ +> /var/log/cinemapress.sh.log && /usr/bin/cprs " . $params . " >> /var/log/cinemapress.sh.log 2>&1' >/dev/null &"; + +$fp = @fsockopen($_POST["ip"], 22, $errno, $errstr, 2); +if ($fp) { + $out_connect = shell_exec($check_connect); + if (trim($out_connect) == "success") { + exec($command); + echo "OK"; + } else { + echo "CONNECT"; + } +} else { + echo "OFFLINE"; +} \ No newline at end of file