' ; //echo ' ----------------------
'; $rp_plugin_version = RPPLUGIN_VERSION; if ( $plugin_cf['rp_plugin']['show_plugin'] ) { $o.= '
'.CMSIMPLE_VERSION . ' plugins/rp_plugin/index.php aktiv:
'; $o.= 'RPPLUGIN_VERSION : ' .RPPLUGIN_VERSION.' '. $plugin_tx['rp_plugin']['button_lang'].'
'; $o.= '
'. $plugin_tx['rp_plugin']['rp_show']. '
'; if(is_writable('./userfiles')) { $o.= 'userfiles folder writable

'; } else { $o.= 'userfiles folder NOT writable

'; } /* cmsimple/functions.php Zeile 914 */ function pagename1() { global $pd_current, $h, $s; if(isset($h[$s])) return($pd_current['show_heading'] == '1' ? htmlspecialchars(strip_tags($pd_current['heading']), ENT_QUOTES, 'UTF-8'): $h[$s]); } /* */ /* Variablen anzeigen */ $o .= ' Anzeigen von ausgewählten Variablen :
'; $o.= 'sitename : ' .sitename() . '
'; $o.= 'pagename1 : ' .pagename1() . '
'; $o.= 'pagename cmsimple : ' .pagename() . '
'; $o.= 'sitemaplink : ' .sitemaplink() . '
'; $o.= '$plugin_tx[rp_plugin][var_list] : ' .$plugin_tx['rp_plugin']['var_varlist'] . '
'; //$o.= 'sitemaplink : ' .sitemaplink() . '
'; $o.= '_ _ _ _ _ _ _ _ _ _ _ _ _ _
'; /* */ $o.= ' plugins/rp_plugin/index.php weiter:
'; /* */ $o .= ' Anzeigen von ausgewählten Variablen :
'; $o .= '$plugin_tx rp_plugin warn5 : ' .$plugin_tx['rp_plugin']['warn5']. '
' ; //$o .= '$pd_current heading : ' .$pd_current['heading']. '
' ; $o .= '$cf site title : ' .$cf['site']['title']. '
' ; //$o .= '$page_data 0 url : ' .$page_data[0]['url']. '' ; //$o .= '$cf security password : ' .$cf['security']['password']. '
' ; // if( strstr(file_get_contents('./content/pagedata.php'),'page_data_fields' ) ) { $o .= 'willi'.'
'; } ; /*/ */ /* Daten anzeigen */ // $o.= 'page_data_fields[] : ' .$page_data_fields[1] . '
'; // $o.= 'temp_data[url] : ' . $temp_data['url'] . '
'; //$o.= '$page_data[0][url] : ' . $page_data[0]['url'] . '
'; //$o.= '$page_data[0][show_heading] : ' . $page_data[0]['show_heading'] . '
'; //$o.= 'page_data[0][heading] : ' . $page_data[0]['heading'] . '
'; $o.= 'aus content/pagedata.php:
'; //$o.= '$page_data[0][url]: ' .$page_data[0]['url']. '
'; $o.= '
'; /* $page_data[0]['url'] = 'Start'; $page_data[0]['last_edit'] = '1676916129'; $page_data[0]['description'] = ''; $page_data[0]['keywords'] = ''; $page_data[0]['title'] = ''; $page_data[0]['robots'] = ''; $page_data[0]['heading'] = ''; $page_data[0]['show_heading'] = '0'; $page_data[0]['template'] = '0'; page_data[0]['published'] = '1'; $page_data[0]['show_last_edit'] = '0'; $page_data[0]['linked_to_menu'] = '1'; $page_data[0]['header_location'] = ''; $page_data[0]['use_header_location'] = '0'; $page_data[0]['csrf_token'] = '63906f915d88c9.75245619'; $page_data[0]['sitetitle'] = ''; $page_data[0]['show_sitetitle'] = '0'; */ $o.= 'aus cmsimple/cms.php: pagemanager/admin.php
'; $o.= '$pth[file][login]: ' .$pth['file']['login']. '
'; $o.= '$pth[file][adm]: ' .$pth['file']['adm'] . '
'; $o.= '$pth[file][search]: ' .$pth['file']['search'] . '
'; $o.= '$pth[file][mailform]: '.$pth['file']['mailform'] . '
'; $o.= '$pth[file][content]: '.$pth['file']['content'] . '
'; $o.= '$pth[file][---]: '.$pth['file']['mailform'] . '
'; $o.= ' - - - - - - - - - - -
'; $o.= ' plugins/rp_plugin/index.php - weiter(1):
'; } // END if ( $plugin_cf['rp_plugin']['show_plugin'] ) // Start einfügen // $o.= '

' .'converted_rp_plugin'. ' rp_plug »

'; $o.= '

' . 'rp_plugin_only' . ' - rp_plugin »

'; $o.= '

' . 'show_content' . ' - rp_plugin » Home »   edit »  

'; //$o.= '

' . 'start_rp_plugin' .' rp_plug »

'; // convert content ------------- if ($adm && isset($_GET['rp_plugin_only']) && !strstr(file_get_contents('./content/content.php'),'class="_levela1_page_"')) { $o.= 'convert content
'; copy($pth['file']['content'], $pth['folder']['content'] . 'SIK_content_' . date("Ymd_His") . '.php'); copy($pth['file']['pagedata'], $pth['folder']['content'] . 'SIK_pagedata_' . date("Ymd_His") . '.php'); $contemp = file_get_contents('./content/content.php'); $pgdatemp = file_get_contents('./content/pagedata.php'); /* if($cf['menu']['levels'] == '1') { // clean h1 tags $contemp = preg_replace('//i','

',$contemp); $contemp = str_ireplace('

','

',$contemp); } */ $content4 = $contemp; // write content.php in ./content/plugins/rp_plugin/ $rp_plugin_convertContentHandle = './content/plugins/rp_plugin/content.php'; $content4handle = fopen($rp_plugin_convertContentHandle, "w+"); fwrite($content4handle,$content4); fclose($content4handle); $pgdatemp4 = $pgdatemp; // write pagedata.php in ./content/plugins/rp_plugin/ $rp_plugin_convertPgdataHandle = './content/plugins/rp_plugin/pagedata.php'; $pgdata4handle = fopen($rp_plugin_convertPgdataHandle, "w+"); fwrite($pgdata4handle,$pgdatemp4); fclose($pgdata4handle); header('Location: ./?converted_rp_plugin'); } // END if ($adm && isset($_GET['rp_plugin_only']) && !strstr(file_get_contents('./content/content.php'),'class="_levela1_page_"')) // plugin output if($adm && $plugin_cf['rp_plugin']['rp_plugin'] == 'true' && !strstr(file_get_contents('./content/content.php'),'class="_levela1_page_"')) { $o.= '
'; $o.= '

' . $plugin_tx['rp_plugin']['headline_plugin'] . '

' . $plugin_tx['rp_plugin']['text_config_changed'] . '

' . $plugin_tx['rp_plugin']['text_plugin_description'] . '

' . $plugin_tx['rp_plugin']['text_usage_hint'] . '
' . $plugin_tx['rp_plugin']['text_backup_hint'] . '

'; $o.= '

' . $plugin_tx['rp_plugin']['text_convert_content'] . ' rp_plugin »

'; $o.= '
'; } if(isset($_GET['converted_rp_plugin'])) { $o.= '

' . $plugin_tx['rp_plugin']['text_conversion_complete'] . '

'; } // show content if( $adm && isset($_GET['show_content']) ) { // $rp_content = file_get_contents($pth['file']['content']); $rp_content = file_get_contents('./content/plugins/rp_plugin/content.php'); $o.= ' - -
- - content: - - Inhalt von content
'.$rp_content . ' - - ende von content - -

' ; } ?>