Jump to content

system53

Member
  • Posts

    52
  • Joined

  • Last visited

About system53

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

system53's Achievements

Member

Member (2/3)

0

Reputation

  1. yes now this process has been successful. Thank you:)
  2. My codes are as follows. and the logos are in the directory they should be in. Header.tpl <a class="c-sidebar__brand u-ml-small" href="{$systemurl}"> {if $assetLogoPath} <img src="{$WEB_ROOT}/templates/{$template}/assets/img/logo{groupID}.png" alt="{$companyname}"> {else} {$companyname} {/if} </a> ( logo{groupID}.png ) This way the site layout is broken.Website codes are falling apart. ( logo{$groupID}.png ) In this way the site layout is normal but dysfunctional. I uploaded the logos to the hooks directory and theme img directory in the same way. <?php # Compamy Logo Based On Client Group Hook # Written by brian! function client_group_logo_hook($vars) { $client = Menu::context('client'); $groupid = $client->groupid; if ($groupid > 0) { $logo = "assets/img/logo".$groupid.".png"; if (file_exists($logo)) { return array ("assetLogoPath" => $logo); } } } add_hook("ClientAreaPage", 1, "client_group_logo_hook"); Hol
  3. This source is not working. I need you up to date.
  4. Thank you, Brian, you're a wonderful person. As I said, I did what I wanted with the code below. {if $service.status|strtolower != 'active'}disabled{/if}
  5. I tried it like the following and it happened. {if $service.status|strtolower != 'active'}disabled{/if}
  6. Hello, I developed a module. We can renew or extend active or suspended services in advance. It works fine and convenient. But the product is passive ( suspended,abuse,closed-deleted,canceled) in case I want to disable the refresh button. I have used the following code for this but I did not succeed. {if $service.status != 'active'}Disabled{/if} I'd appreciate it if you could help me.
  7. That was successful. I thank you. I made a small fix and it worked. <img class="u-mb-small" alt="Department icon" src="{$WEB_ROOT}/templates/{$template}/assets/img/departman-{$department.name}.svg">
  8. Hello, As shown in the picture below, there are three support sections. How do I add a different picture to each one? Looks like there's the same visual icon in every department.
  9. Burti made a small software for those of us. Some developing purchasing, etc I did. The code is as follows. <?php header('Content-Type: text/html; charset=utf-8'); // AŞAĞI KISIMI DÜZENLEMEYİN // DO NOT EDIT BELOW // 10-45-21 ile başlayan alana ürün id'lerini girin, sağ tarafada bayi fiyatını girin $products = array( 10 => '350 TL', 45 => '500 TL', 21 => '110 TL', 35 => '122 TL', 85 => '235 TL', 32 => '125 TL', ); // ! AŞAĞI KISIMI DÜZENLEMEYİN // ! DO NOT EDIT BELOW require('configuration.php'); $mysqli = new mysqli($db_host, $db_username, $db_password, $db_name); $mysqli->set_charset('utf8'); if ($mysqli->connect_error) { die('Connect Error (' . $mysqli->connect_errno . ') '. $mysqli->connect_error); } $type=''; if(count($products)>0){ $ids = ''; foreach($products AS $key => $val){ $key = intval($key); $ids .= "id = '".$key."' OR "; } $ids = rtrim($ids,' OR '); $query = $mysqli->query("SELECT id,qty,name,description FROM tblproducts WHERE $ids"); if(isset($_REQUEST["type"])){ if($_REQUEST["type"] == 'json'){ $type='json'; } } $rowJson = array(); if($type == ''){ echo '<table> <thead> <tr> <th>ID</th> <th>QTY</th> <th>NAME</th> <th>DESC</th> <th>SPECIAL PRICE</th> <th>ORDER</th> </tr> </thead> <tbody> '; } while($row=$query->fetch_assoc()){ $row["price"] = $products[$row["id"]]; if($type == 'json'){ $rowJson[] = $row; }else if($type == ''){ echo ' <tr> <td>'.$row["id"].'</td> <td>'.$row["qty"].'</td> <td>'.$row["name"].'</td> <td>'.$row["description"].'</td> <td>'.$row["price"].'</td> <td><a href="cart.php?a=add&pid='.$row["id"].'?type=json"target="_blank">Order</a></td> </tr> '; } } if($type == ''){ echo '</tbody></table>'; die(); } if(count($rowJson) > 0){ die(json_encode($rowJson)); } } In sight everything works fine. But normally should be like this. Your link to the end of any products "?type=json" is added. the dealer price is not specified. So the following should be like. Regular Price: 200 USD - https://WHMCS/cart.php?a=add&pid=1 Dealer Price: 100 USD - https://WHMCS/cart.php?a=add&pid=1?type=json ( The price doesn't change. ) Thank you in advance. Is there something that is missing in the software.
  10. I opened the topic. Hopefully I'll get a response
  11. I want to select order list for WHMCS HETZNER Server Order: https://robot.your-server.de/order/market The above link will be shown automatically on our site and the servers in whmcs must be ordered. It should be mentioned that when ordering the package ID already exists. For example, at the following site. What I want exactly is as follows.: https://goo.gl/MRBk0d Is there anyone who can help in this regard? Free or paid.
  12. I want to select order list for WHMCS HETZNER Server Order: https://robot.your-server.de/order/market The above link will be shown automatically on our site and the servers in whmcs must be ordered. It should be mentioned that when ordering the package ID already exists. For example, at the following site. What I want exactly is as follows.: https://goo.gl/MRBk0d Is there anyone who can help in this regard? Free or paid.
  13. We have created a draft of the module. Operation buttons is ready. We just need sample code for automatic ticket. We can handle this with a code sample
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated